Setup: bump cx-Freeze to fix frozen linux shortcuts (#6365)

This commit is contained in:
qwint
2026-08-05 00:18:52 +02:00
committed by GitHub
parent 838d55327e
commit e759562506
2 changed files with 6 additions and 5 deletions
+5 -5
View File
@@ -22,7 +22,7 @@ SNI_VERSION = "v0.0.100" # change back to "latest" once tray icon issues are fi
# This is a bit jank. We need cx-Freeze to be able to run anything from this script, so install it
requirement = 'cx-Freeze==8.4.0'
requirement = "cx-Freeze==8.6.4"
try:
import pkg_resources
try:
@@ -41,9 +41,9 @@ if install_cx_freeze:
except ImportError:
raise RuntimeError("pip not available. Please install pip.")
# install and import cx_freeze
if '--yes' not in sys.argv and '-y' not in sys.argv:
input(f'Requirement {requirement} is not satisfied, press enter to install it')
subprocess.call([sys.executable, '-m', 'pip', 'install', requirement, '--upgrade'])
if "--yes" not in sys.argv and "-y" not in sys.argv:
input(f"Requirement {requirement} is not satisfied, press enter to install it")
subprocess.call([sys.executable, "-m", "pip", "install", requirement, "-c", "setup_constraints.txt"])
import pkg_resources
import cx_Freeze
@@ -188,7 +188,7 @@ exes = [
script=f"{c.script_name}.py",
target_name=c.frozen_name + (".exe" if is_windows else ""),
icon=resolve_icon(c.icon),
base="Win32GUI" if is_windows and not c.cli else None
base="gui" if is_windows and not c.cli else None
) for c in components if c.script_name and c.frozen_name
]
+1
View File
@@ -0,0 +1 @@
setuptools>=75,<81