update Makefile.

Signed-off-by: cxykevin <cxykevin@yeah.net>
This commit is contained in:
cxykevin 2024-02-15 08:25:00 +00:00 committed by Gitee
parent 73006a60d6
commit e2e7d0b504
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 8 additions and 3 deletions

View File

@ -39,7 +39,11 @@ endif
env\python.exe: tmp/py/python.zip
7z x -y -aos -oenv/ tmp/py/python.zip
install: dist/PEinjector.7z installer/install.py
ifeq ($(OS), Windows_NT)
python installer/install.py
else
sudo python installer/install.py
endif
build: dist/PEinjector.7z
prepare: env/python.exe
clean:
@ -53,15 +57,16 @@ else
mkdir dist -p
endif
debug: dist/PEinjector.7z
python installer/install.py
ifeq ($(OS), Windows_NT)
python installer/install.py
start_vm.cmd
else
start_vm.sh
sudo python installer/install.py
sudo start_vm.sh
endif
start:
ifeq ($(OS), Windows_NT)
start_vm.cmd
else
start_vm.sh
sudo start_vm.sh
endif