Standalone binary no self execute fix (#603)

* Fix nuitka command
Αυτή η υποβολή περιλαμβάνεται σε:
vedithal-amd
2025-03-11 13:34:37 -04:00
υποβλήθηκε από GitHub
γονέας 097d30dc5c
υποβολή 15edbf475e
+4 -1
Προβολή Αρχείου
@@ -391,8 +391,11 @@ add_custom_target(
# Create VERSION.sha file
COMMAND git -C ${PROJECT_SOURCE_DIR} rev-parse HEAD > VERSION.sha
# Build standalone binary
# NOTE: --no-deployment-flag=self-execution is used to avoid self-execution and fork
# bombs as explained in
# https://nuitka.net/user-documentation/common-issue-solutions.html#fork-bombs-self-execution
COMMAND
${Python3_EXECUTABLE} -m nuitka --mode=onefile
${Python3_EXECUTABLE} -m nuitka --mode=onefile --no-deployment-flag=self-execution
--include-data-files=${PROJECT_SOURCE_DIR}/VERSION*=./ --enable-plugin=no-qt
--include-package=dash_svg --include-package-data=dash_svg
--include-package=dash_bootstrap_components