Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d010329

Browse files
Don't lie about the supported architectures in the OSX installer
Without this patch the i386/x86_64 installer for OSX 10.6 lies in the ReadMe file and the "Important Information" screen of the installer (that is, the installer claims it supports the i386 and ppc architectures insetead of the ones it really supports)
1 parent 22246fd commit d010329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/BuildScript/build-installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ def patchFile(inPath, outPath):
866866
data = data.replace('$FULL_VERSION', getFullVersion())
867867
data = data.replace('$VERSION', getVersion())
868868
data = data.replace('$MACOSX_DEPLOYMENT_TARGET', ''.join((DEPTARGET, ' or later')))
869-
data = data.replace('$ARCHITECTURES', "i386, ppc")
869+
data = data.replace('$ARCHITECTURES', ", ".join(universal_opts_map[UNIVERSALARCHS]))
870870
data = data.replace('$INSTALL_SIZE', installSize())
871871

872872
# This one is not handy as a template variable

0 commit comments

Comments
 (0)