This commit is contained in:
Flowseal committed 2026-10-09 18:54:03 +03:00
1 parent 3fa281625f
commit a232472cbe
2 files changed
+11 -5

No files matched your search

+5 -4
View File
@@ -2,15 +2,14 @@
import os
import glob
from PyInstaller.utils.hooks import collect_data_files
import certifi
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')
certifi_cafile = certifi.where()
_i18n_path = os.path.join(os.path.dirname(SPEC), os.pardir, 'ui', 'i18n')
@@ -25,7 +24,7 @@ a = Analysis(
[os.path.join(os.path.dirname(SPEC), os.pardir, 'linux.py')],
pathex=[],
binaries=appindicator_binaries,
datas=[(ctk_path, 'customtkinter/'), (_i18n_path, 'ui/i18n')] + certifi_datas,
datas=[(ctk_path, 'customtkinter/'), (_i18n_path, 'ui/i18n')],
hiddenimports=[
'httpx',
'h2',
@@ -63,6 +62,8 @@ a = Analysis(
cipher=block_cipher,
)
a.datas += [('certifi/cacert.pem', certifi_cafile, 'DATA')]
_required_libraries = {
'libglib-2.0.so.0', 'libgobject-2.0.so.0', 'libgio-2.0.so.0',
'libgtk-3.so.0', 'libappindicator3.so.1',