hooks config for *.spec file

This commit is contained in:
DYefremov
2022-04-10 10:39:59 +03:00
parent c65b6c540c
commit 945ee13058
2 changed files with 22 additions and 1 deletions

View File

@@ -32,6 +32,16 @@ a = Analysis([EXE_NAME],
hiddenimports=['fileinput', 'uuid'],
hookspath=[],
runtime_hooks=[],
hooksconfig={
"gi": {
"languages": ["en", "be", "es", "it", "nl",
"pl", "pt", "ru", "tr", "zh_CN"],
"module-versions": {
"Gtk": "3.0",
"GtkSource": "3",
},
},
},
excludes=excludes,
win_no_prefer_redirects=False,
win_private_assemblies=False,
@@ -71,5 +81,6 @@ app = BUNDLE(coll,
'LSMinimumSystemVersion': '10.13',
'CFBundleShortVersionString': f"2.2.2.{BUILD_DATE} Beta",
'NSHumanReadableCopyright': u"Copyright © 2022, Dmitriy Yefremov",
'NSRequiresAquaSystemAppearance': 'false'
'NSRequiresAquaSystemAppearance': 'false',
'NSHighResolutionCapable': 'true'
})

View File

@@ -30,6 +30,16 @@ a = Analysis([EXE_NAME],
hiddenimports=['fileinput', 'uuid', 'ctypes.wintypes'],
hookspath=[],
runtime_hooks=[],
hooksconfig={
"gi": {
"languages": ["en", "be", "es", "it", "nl",
"pl", "pt", "ru", "tr", "zh_CN"],
"module-versions": {
"Gtk": "3.0",
"GtkSource": "3",
},
},
},
excludes=excludes,
win_no_prefer_redirects=False,
win_private_assemblies=False,