[!] Fix windowed mode
This commit is contained in:
@@ -17,8 +17,8 @@ def get_pyinstaller_cmd():
|
||||
uac_admin = ""
|
||||
dwt = ""
|
||||
windows_mode = "--console"
|
||||
if windowed:
|
||||
windows_mode = "--windowed"
|
||||
if windowed[0]:
|
||||
windows_mode = "-w"
|
||||
add_data = [f'--add-data {path_fix + d}' for d in data]
|
||||
if splash:
|
||||
splash_str = f' --splash {path_fix + splash} '
|
||||
|
||||
@@ -18,7 +18,7 @@ icon = "" # Читается из metadata
|
||||
splash = "" # Читается из metadata
|
||||
data = []
|
||||
|
||||
windowed = False
|
||||
windowed = [False]
|
||||
|
||||
path_fix = os.path.abspath(os.path.dirname(__file__)) + "/../../"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user