Made Mac version check before fixing
This commit is contained in:
parent
deed8a28a2
commit
3ebd939f32
|
@ -821,12 +821,11 @@ class InternalCommands:
|
||||||
dir = self.getGenerator().binDir
|
dir = self.getGenerator().binDir
|
||||||
target = dir + "/Synergy.app/Contents/Frameworks"
|
target = dir + "/Synergy.app/Contents/Frameworks"
|
||||||
(major, minor) = self.getMacVersion()
|
(major, minor) = self.getMacVersion()
|
||||||
|
if major == 10:
|
||||||
for root, dirs, files in os.walk(target):
|
if minor >= 9:
|
||||||
for dir in dirs:
|
for root, dirs, files in os.walk(target):
|
||||||
if dir.startswith("Qt"):
|
for dir in dirs:
|
||||||
if major == 10:
|
if dir.startswith("Qt"):
|
||||||
if minor >= 9:
|
|
||||||
self.try_chdir(target + "/" + dir +"/Versions")
|
self.try_chdir(target + "/" + dir +"/Versions")
|
||||||
self.symlink("5", "Current")
|
self.symlink("5", "Current")
|
||||||
self.move("../Resources", "5")
|
self.move("../Resources", "5")
|
||||||
|
|
Loading…
Reference in New Issue