From 65cb3cf7f0149f92e3d3539845463096fd36e7df Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Sun, 7 Mar 2021 10:39:15 -0700 Subject: [PATCH] Use patcher_version variable for .app --- OpenCore-Patcher.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OpenCore-Patcher.spec b/OpenCore-Patcher.spec index ebd3471c6..8b94ea47b 100644 --- a/OpenCore-Patcher.spec +++ b/OpenCore-Patcher.spec @@ -1,5 +1,7 @@ # -*- mode: python ; coding: utf-8 -*- - +import sys, os +sys.path.append(os.path.abspath(os.getcwd())) +from Resources import Constants block_cipher = None @@ -35,7 +37,7 @@ app = BUNDLE(exe, icon="OC-Patcher.icns", bundle_identifier=None, info_plist={ - "CFBundleShortVersionString": "0.0.12", + "CFBundleShortVersionString": Constants.Constants().patcher_version, "CFBundleExecutable": "MacOS/Launcher", "NSHumanReadableCopyright": "Copyright 2020-2021 Dortania" - }) + }) \ No newline at end of file