mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 18:26:39 +00:00
Use latest PyInstaller instead of cx_Freeze to generate a standalone Windows EXE.
This commit is contained in:
parent
2bc9bae11b
commit
ecefbe6163
2 changed files with 11 additions and 10 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
||||||
build
|
build
|
||||||
host/nxdt_host
|
host/__pycache__
|
||||||
|
host/build
|
||||||
|
host/dist
|
||||||
host/nxdumptool
|
host/nxdumptool
|
||||||
*.elf
|
*.elf
|
||||||
*.nacp
|
*.nacp
|
||||||
|
@ -10,6 +12,7 @@ host/nxdumptool
|
||||||
*.lst
|
*.lst
|
||||||
*.tar.bz2
|
*.tar.bz2
|
||||||
*.log
|
*.log
|
||||||
*.zip
|
*.spec
|
||||||
|
*.exe
|
||||||
/code_templates/tmp/*
|
/code_templates/tmp/*
|
||||||
/source/main.c
|
/source/main.c
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
rmdir /s /q nxdt_host
|
pyinstaller -y --clean --log-level WARN -F --add-binary "C:\Windows\System32\libusb0.dll;." -w -i nxdt.ico nxdt_host.py
|
||||||
mkdir nxdt_host
|
|
||||||
|
|
||||||
cxfreeze nxdt_host.py -s --base-name=Win32GUI --target-dir=nxdt_host --icon=nxdt.ico
|
move dist\nxdt_host.exe nxdt_host.exe
|
||||||
|
|
||||||
copy ..\README.md nxdt_host
|
|
||||||
copy ..\LICENSE.md nxdt_host
|
|
||||||
|
|
||||||
python -m zipfile -c nxdt_host.zip nxdt_host
|
|
||||||
|
|
||||||
|
rmdir /s /q __pycache__
|
||||||
|
rmdir /s /q build
|
||||||
|
rmdir /s /q dist
|
||||||
|
del nxdt_host.spec
|
||||||
|
|
Loading…
Reference in a new issue