1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-08 11:51:48 +00:00

host: drop Nuitka's "--onefile" arg

Fixes false-positive AV warnings.
This commit is contained in:
Pablo Curiel 2024-01-20 23:11:21 +01:00
parent 38ff475d9e
commit 643847be39
2 changed files with 6 additions and 5 deletions

5
.gitignore vendored
View file

@ -2,9 +2,7 @@
build build
host/__pycache__ host/__pycache__
host/standalone host/standalone
host/nxdt_host.build host/nxdt_host*
host/nxdt_host.dist
host/nxdt_host.onefile-build
host/nxdumptool host/nxdumptool
*.elf *.elf
*.nacp *.nacp
@ -16,6 +14,7 @@ host/nxdumptool
*.log *.log
*.spec *.spec
*.exe *.exe
*.7z
*.code-workspace *.code-workspace
# TODO: remove this after the PoC builds are no longer needed. # TODO: remove this after the PoC builds are no longer needed.

View file

@ -14,11 +14,13 @@ python -m venv "%venvname%"
"%venvpython%" -m pip install --upgrade nuitka -r requirements-win32.txt "%venvpython%" -m pip install --upgrade nuitka -r requirements-win32.txt
"%venvpython%" -m nuitka --standalone --onefile --deployment --disable-console --windows-icon-from-ico=nxdt.ico --enable-plugin=tk-inter nxdt_host.py "%venvpython%" -m nuitka --standalone --deployment --disable-console --windows-icon-from-ico=nxdt.ico --enable-plugin=tk-inter nxdt_host.py
del /F /Q nxdt_host.7z
7z a nxdt_host.7z .\nxdt_host.dist\*
rmdir /s /q nxdt_host.build rmdir /s /q nxdt_host.build
rmdir /s /q nxdt_host.dist rmdir /s /q nxdt_host.dist
rmdir /s /q nxdt_host.onefile-build
rmdir /s /q standalone rmdir /s /q standalone
pause pause