删除文件 Makefile.linux
This commit is contained in:
parent
e2e7d0b504
commit
5a581556c3
|
@ -1,44 +0,0 @@
|
||||||
dist/PEinjector.7z: src/main.py src/log.py src/action.py src/hook.pyw src/makelnk.py src/regwrite.py src/config.py src/loader.py src/utils.py root/VentoyAutoRun.bat
|
|
||||||
mkdir tmp/pkg/PEinjector/env -p
|
|
||||||
mkdir tmp/pkg/PEinjector/src -p
|
|
||||||
mkdir tmp/pkg/PEinjector/tool -p
|
|
||||||
cp ./root/* ./tmp/pkg -rfp
|
|
||||||
cp ./env ./tmp/pkg/PEinjector/env -rfp
|
|
||||||
cp ./src ./tmp/pkg/PEinjector/src -rfp
|
|
||||||
cp ./tool ./tmp/pkg/PEinjector/tool -rfp
|
|
||||||
rm -rf dist
|
|
||||||
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/VentoyAutoRun.bat -m0=BCJ -m1=LZMA:d=21 -ms -mmt
|
|
||||||
rm -rf tmp
|
|
||||||
|
|
||||||
tmp/py/python.zip:
|
|
||||||
mkdir tmp/py -p
|
|
||||||
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
|
|
||||||
|
|
||||||
env/python.exe: tmp/py/python.zip
|
|
||||||
7z x -y -aos -o env/ tmp/py/python.zip
|
|
||||||
|
|
||||||
install: dist/PEinjector.7z installer\install.py
|
|
||||||
python3 installer\install.py
|
|
||||||
|
|
||||||
build: dist/PEinjector.7z
|
|
||||||
|
|
||||||
prepare: env/python.exe
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf tmp
|
|
||||||
rm -rf dist
|
|
||||||
mkdir dist -p
|
|
||||||
|
|
||||||
debug: dist/PEinjector.7z
|
|
||||||
sudo python3 installer/install.py
|
|
||||||
chmod +x ./start_vm.sh
|
|
||||||
./start_vm.sh
|
|
||||||
|
|
||||||
start:
|
|
||||||
chmod +x ./start_vm.sh
|
|
||||||
./start_vm.sh
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue