MacOS moved to tkinter and pystray; cetifi implementation to fix SSL issues

This commit is contained in:
Flowseal
2026-08-07 00:41:20 +03:00
parent 2496004c93
commit 9f9e1c2482
10 changed files with 480 additions and 544 deletions
+4 -1
View File
@@ -3,11 +3,14 @@
import sys
import os
from PyInstaller.utils.hooks import collect_data_files
block_cipher = None
# customtkinter ships JSON themes + assets that must be bundled
import customtkinter
ctk_path = os.path.dirname(customtkinter.__file__)
certifi_datas = collect_data_files('certifi')
_i18n_path = os.path.join(os.path.dirname(SPEC), os.pardir, 'ui', 'i18n')
@@ -15,7 +18,7 @@ a = Analysis(
[os.path.join(os.path.dirname(SPEC), os.pardir, 'windows.py')],
pathex=[],
binaries=[],
datas=[(ctk_path, 'customtkinter/'), (_i18n_path, 'ui/i18n')],
datas=[(ctk_path, 'customtkinter/'), (_i18n_path, 'ui/i18n')] + certifi_datas,
hiddenimports=[
'pystray._win32',
'PIL._tkinter_finder',