Use patcher_version variable for .app

This commit is contained in:
Mykola Grymalyuk
2021-03-07 10:39:15 -07:00
parent bcf86801db
commit 65cb3cf7f0
+4 -2
View File
@@ -1,5 +1,7 @@
# -*- mode: python ; coding: utf-8 -*- # -*- mode: python ; coding: utf-8 -*-
import sys, os
sys.path.append(os.path.abspath(os.getcwd()))
from Resources import Constants
block_cipher = None block_cipher = None
@@ -35,7 +37,7 @@ app = BUNDLE(exe,
icon="OC-Patcher.icns", icon="OC-Patcher.icns",
bundle_identifier=None, bundle_identifier=None,
info_plist={ info_plist={
"CFBundleShortVersionString": "0.0.12", "CFBundleShortVersionString": Constants.Constants().patcher_version,
"CFBundleExecutable": "MacOS/Launcher", "CFBundleExecutable": "MacOS/Launcher",
"NSHumanReadableCopyright": "Copyright 2020-2021 Dortania" "NSHumanReadableCopyright": "Copyright 2020-2021 Dortania"
}) })