diff --git a/Makefile b/Makefile index 686bff5..32e3567 100644 --- a/Makefile +++ b/Makefile @@ -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