From b39aae365a2c140082e5b46f35f9e4b9cdbcb144 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sat, 27 Dec 2025 17:26:03 +0800 Subject: [PATCH] Update test_nuitka_binary.py --- tests/test_nuitka_binary.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/test_nuitka_binary.py b/tests/test_nuitka_binary.py index 0cd986e..2d8398f 100644 --- a/tests/test_nuitka_binary.py +++ b/tests/test_nuitka_binary.py @@ -36,14 +36,10 @@ def test_nuitka_binary(): Tests the creation and execution of a Nuitka-compiled binary. """ nuitka_command = [ - "python", "-m", "nuitka", - "--no-deployment-flag=self-execution", - "--onefile", + "python", "-m", "nuitka", "--onefile", "--assume-yes-for-downloads", "--include-data-file=./Whatsapp_Chat_Exporter/whatsapp.html=./Whatsapp_Chat_Exporter/whatsapp.html", - "--assume-yes-for-downloads", - "--follow-imports", - "Whatsapp_Chat_Exporter/__main__.py", - "--output-filename=wtsexporter.exe" # use .exe on all platforms for compatibility + "Whatsapp_Chat_Exporter", + "--output-filename=wtsexporter_linux_x64.exe" # use .exe on all platforms for compatibility ] compile_result = subprocess.run(