mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-27 08:21:33 +00:00
Update test_nuitka_binary.py
This commit is contained in:
@@ -36,14 +36,10 @@ def test_nuitka_binary():
|
|||||||
Tests the creation and execution of a Nuitka-compiled binary.
|
Tests the creation and execution of a Nuitka-compiled binary.
|
||||||
"""
|
"""
|
||||||
nuitka_command = [
|
nuitka_command = [
|
||||||
"python", "-m", "nuitka",
|
"python", "-m", "nuitka", "--onefile", "--assume-yes-for-downloads",
|
||||||
"--no-deployment-flag=self-execution",
|
|
||||||
"--onefile",
|
|
||||||
"--include-data-file=./Whatsapp_Chat_Exporter/whatsapp.html=./Whatsapp_Chat_Exporter/whatsapp.html",
|
"--include-data-file=./Whatsapp_Chat_Exporter/whatsapp.html=./Whatsapp_Chat_Exporter/whatsapp.html",
|
||||||
"--assume-yes-for-downloads",
|
"Whatsapp_Chat_Exporter",
|
||||||
"--follow-imports",
|
"--output-filename=wtsexporter_linux_x64.exe" # use .exe on all platforms for compatibility
|
||||||
"Whatsapp_Chat_Exporter/__main__.py",
|
|
||||||
"--output-filename=wtsexporter.exe" # use .exe on all platforms for compatibility
|
|
||||||
]
|
]
|
||||||
|
|
||||||
compile_result = subprocess.run(
|
compile_result = subprocess.run(
|
||||||
|
|||||||
Reference in New Issue
Block a user