mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-03 22:14:26 +08:00
#5699 Only put MacOSX version number in filename when deploying for exact SDK
This commit is contained in:
@@ -1854,7 +1854,10 @@ class InternalCommands:
|
||||
# version is major and minor with no dots (e.g. 106)
|
||||
version = str(major) + str(minor)
|
||||
|
||||
return "MacOSX%s-%s" % (version, arch)
|
||||
if (self.macDeploy == self.macSdk):
|
||||
return "MacOSX%s-%s" % (version, arch)
|
||||
else:
|
||||
return "MacOSX-%s" % arch
|
||||
|
||||
def reset(self):
|
||||
if os.path.exists('build'):
|
||||
|
||||
Reference in New Issue
Block a user