mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-09 12:11:44 +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
|
||||
host/nxdt_host
|
||||
host/__pycache__
|
||||
host/build
|
||||
host/dist
|
||||
host/nxdumptool
|
||||
*.elf
|
||||
*.nacp
|
||||
|
@ -10,6 +12,7 @@ host/nxdumptool
|
|||
*.lst
|
||||
*.tar.bz2
|
||||
*.log
|
||||
*.zip
|
||||
*.spec
|
||||
*.exe
|
||||
/code_templates/tmp/*
|
||||
/source/main.c
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
rmdir /s /q nxdt_host
|
||||
mkdir nxdt_host
|
||||
pyinstaller -y --clean --log-level WARN -F --add-binary "C:\Windows\System32\libusb0.dll;." -w -i nxdt.ico nxdt_host.py
|
||||
|
||||
cxfreeze nxdt_host.py -s --base-name=Win32GUI --target-dir=nxdt_host --icon=nxdt.ico
|
||||
|
||||
copy ..\README.md nxdt_host
|
||||
copy ..\LICENSE.md nxdt_host
|
||||
|
||||
python -m zipfile -c nxdt_host.zip nxdt_host
|
||||
move dist\nxdt_host.exe nxdt_host.exe
|
||||
|
||||
rmdir /s /q __pycache__
|
||||
rmdir /s /q build
|
||||
rmdir /s /q dist
|
||||
del nxdt_host.spec
|
||||
|
|
Loading…
Reference in a new issue