mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-10 13:40:15 +08:00
GUI: Allow console so we get to have error return codes from GUI
This commit is contained in:
parent
fb1a49fc97
commit
bc7bf1a138
1 changed files with 3 additions and 3 deletions
|
@ -7,8 +7,8 @@ __intname__ = "npbackup.compile"
|
||||||
__author__ = "Orsiris de Jong"
|
__author__ = "Orsiris de Jong"
|
||||||
__copyright__ = "Copyright (C) 2023-2024 NetInvent"
|
__copyright__ = "Copyright (C) 2023-2024 NetInvent"
|
||||||
__license__ = "GPL-3.0-only"
|
__license__ = "GPL-3.0-only"
|
||||||
__build__ = "2025010901"
|
__build__ = "2025020401"
|
||||||
__version__ = "2.2.0"
|
__version__ = "2.2.1"
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -298,7 +298,7 @@ def compile(
|
||||||
NUITKA_OPTIONS += " --enable-plugin=data-hiding" if have_nuitka_commercial() else ""
|
NUITKA_OPTIONS += " --enable-plugin=data-hiding" if have_nuitka_commercial() else ""
|
||||||
|
|
||||||
if build_type in ("gui", "viewer"):
|
if build_type in ("gui", "viewer"):
|
||||||
NUITKA_OPTIONS += " --plugin-enable=tk-inter --windows-console-mode=disable"
|
NUITKA_OPTIONS += " --plugin-enable=tk-inter --windows-console-mode=hide"
|
||||||
else:
|
else:
|
||||||
NUITKA_OPTIONS += " --plugin-disable=tk-inter --nofollow-import-to=FreeSimpleGUI --nofollow-import-to=_tkinter --nofollow-import-to=npbackup.gui"
|
NUITKA_OPTIONS += " --plugin-disable=tk-inter --nofollow-import-to=FreeSimpleGUI --nofollow-import-to=_tkinter --nofollow-import-to=npbackup.gui"
|
||||||
if onefile:
|
if onefile:
|
||||||
|
|
Loading…
Add table
Reference in a new issue