更新makefile在linux 下的问题

This commit is contained in:
cxykevin 2024-05-01 20:07:35 +08:00
parent 58e591bf22
commit d9edc60b2c
1 changed files with 4 additions and 4 deletions

View File

@ -17,9 +17,9 @@ else
mkdir tmp/pkg/PEinjector/src -p mkdir tmp/pkg/PEinjector/src -p
mkdir tmp/pkg/PEinjector/tool -p mkdir tmp/pkg/PEinjector/tool -p
cp ./root/* ./tmp/pkg -rfp cp ./root/* ./tmp/pkg -rfp
cp ./env ./tmp/pkg/PEinjector/env -rfp cp ./env ./tmp/pkg/PEinjector -rfp
cp ./src ./tmp/pkg/PEinjector/src -rfp cp ./src ./tmp/pkg/PEinjector -rfp
cp ./tool ./tmp/pkg/PEinjector/tool -rfp cp ./tool ./tmp/pkg/PEinjector -rfp
rm -rf dist rm -rf dist
mkdir disk -p mkdir disk -p
7z a -t7z dist/PEinjector.7z ./tmp/pkg/PEinjector -r -m0=BCJ -m1=LZMA:d=21 -ms -mmt 7z a -t7z dist/PEinjector.7z ./tmp/pkg/PEinjector -r -m0=BCJ -m1=LZMA:d=21 -ms -mmt
@ -36,7 +36,7 @@ else
cd tmp/py cd tmp/py
wget https://registry.npmmirror.com/-/binary/python/3.12.1/python-3.12.1-embed-amd64.zip -O tmp/py/python.zip wget https://registry.npmmirror.com/-/binary/python/3.12.1/python-3.12.1-embed-amd64.zip -O tmp/py/python.zip
endif endif
env\python.exe: tmp/py/python.zip env/python.exe: tmp/py/python.zip
7z x -y -aos -oenv/ tmp/py/python.zip 7z x -y -aos -oenv/ tmp/py/python.zip
install: dist/PEinjector.7z installer/install.py install: dist/PEinjector.7z installer/install.py
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)