Index: trunk/package/Scripts/Resolutions/1024x768x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1024x768x32/postinstall (revision 1475) +++ trunk/package/Scripts/Resolutions/1024x768x32/postinstall (revision 1476) @@ -19,13 +19,13 @@ # "GraphicsEnabler<\key>" and "Yes" if "GraphicsEnabler" in line: line = infile.next() - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1024x768x32\n" InstantMenuCheck = True # if we finish the tags and haven't written Graphics_Mode Yet if "" in line and Graphics_ModeCheck == False: - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1024x768x32\n" line += "\n" Graphics_ModeCheck = True Index: trunk/package/Scripts/Resolutions/1024x600x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1024x600x32/postinstall (revision 0) +++ trunk/package/Scripts/Resolutions/1024x600x32/postinstall (revision 1476) @@ -0,0 +1,39 @@ +#!/usr/bin/python +# Script to add Graphics_Mode for Chameleon boot loaders + +import sys +import os + +vol = str(sys.argv[3]) +boot = "/Extra/org.chameleon.Boot.plist" +plist = vol + boot +infile = open(plist, "r") +# check if Graphics_Mode has been written or not +Graphics_ModeCheck = False + +body = "" + +for line in infile: + # if GraphicsEnabler is there, advance the next line to + # read past it, and then change the lines to read + # "GraphicsEnabler<\key>" and "Yes" + if "GraphicsEnabler" in line: + line = infile.next() + line = " Graphics Mode\n" + line += " 1024x600x32\n" + InstantMenuCheck = True + + # if we finish the tags and haven't written Graphics_Mode Yet + if "" in line and Graphics_ModeCheck == False: + line = " Graphics Mode\n" + line += " 1024x600x32\n" + line += "\n" + Graphics_ModeCheck = True + + body += line + +infile.close() + +outfile = open(plist, "w") +outfile.write(body) +outfile.close() Property changes on: trunk/package/Scripts/Resolutions/1024x600x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/package/Scripts/Resolutions/1920x1200x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1920x1200x32/postinstall (revision 1475) +++ trunk/package/Scripts/Resolutions/1920x1200x32/postinstall (revision 1476) @@ -19,13 +19,13 @@ # "GraphicsEnabler<\key>" and "Yes" if "GraphicsEnabler" in line: line = infile.next() - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1920x1200x32\n" InstantMenuCheck = True # if we finish the tags and haven't written Graphics_Mode Yet if "" in line and Graphics_ModeCheck == False: - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1920x1200x32\n" line += "\n" Graphics_ModeCheck = True Index: trunk/package/Scripts/Resolutions/1600x900x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1600x900x32/postinstall (revision 1475) +++ trunk/package/Scripts/Resolutions/1600x900x32/postinstall (revision 1476) @@ -19,13 +19,13 @@ # "GraphicsEnabler<\key>" and "Yes" if "GraphicsEnabler" in line: line = infile.next() - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1600x900x32\n" InstantMenuCheck = True # if we finish the tags and haven't written Graphics_Mode Yet if "" in line and Graphics_ModeCheck == False: - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1600x900x32\n" line += "\n" Graphics_ModeCheck = True Index: trunk/package/Scripts/Resolutions/1280x1024x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1280x1024x32/postinstall (revision 1475) +++ trunk/package/Scripts/Resolutions/1280x1024x32/postinstall (revision 1476) @@ -19,13 +19,13 @@ # "GraphicsEnabler<\key>" and "Yes" if "GraphicsEnabler" in line: line = infile.next() - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1280x1024x32\n" InstantMenuCheck = True # if we finish the tags and haven't written Graphics_Mode Yet if "" in line and Graphics_ModeCheck == False: - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1280x1024x32\n" line += "\n" Graphics_ModeCheck = True Index: trunk/package/Scripts/Resolutions/1440x900x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1440x900x32/postinstall (revision 0) +++ trunk/package/Scripts/Resolutions/1440x900x32/postinstall (revision 1476) @@ -0,0 +1,39 @@ +#!/usr/bin/python +# Script to add Graphics_Mode for Chameleon boot loaders + +import sys +import os + +vol = str(sys.argv[3]) +boot = "/Extra/org.chameleon.Boot.plist" +plist = vol + boot +infile = open(plist, "r") +# check if Graphics_Mode has been written or not +Graphics_ModeCheck = False + +body = "" + +for line in infile: + # if GraphicsEnabler is there, advance the next line to + # read past it, and then change the lines to read + # "GraphicsEnabler<\key>" and "Yes" + if "GraphicsEnabler" in line: + line = infile.next() + line = " Graphics Mode\n" + line += " 1440x900x32\n" + InstantMenuCheck = True + + # if we finish the tags and haven't written Graphics_Mode Yet + if "" in line and Graphics_ModeCheck == False: + line = " Graphics Mode\n" + line += " 1440x900x32\n" + line += "\n" + Graphics_ModeCheck = True + + body += line + +infile.close() + +outfile = open(plist, "w") +outfile.write(body) +outfile.close() Property changes on: trunk/package/Scripts/Resolutions/1440x900x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/package/Scripts/Resolutions/1280x800x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1280x800x32/postinstall (revision 0) +++ trunk/package/Scripts/Resolutions/1280x800x32/postinstall (revision 1476) @@ -0,0 +1,39 @@ +#!/usr/bin/python +# Script to add Graphics_Mode for Chameleon boot loaders + +import sys +import os + +vol = str(sys.argv[3]) +boot = "/Extra/org.chameleon.Boot.plist" +plist = vol + boot +infile = open(plist, "r") +# check if Graphics_Mode has been written or not +Graphics_ModeCheck = False + +body = "" + +for line in infile: + # if GraphicsEnabler is there, advance the next line to + # read past it, and then change the lines to read + # "GraphicsEnabler<\key>" and "Yes" + if "GraphicsEnabler" in line: + line = infile.next() + line = " Graphics Mode\n" + line += " 1280x800x32\n" + InstantMenuCheck = True + + # if we finish the tags and haven't written Graphics_Mode Yet + if "" in line and Graphics_ModeCheck == False: + line = " Graphics Mode\n" + line += " 1280x800x32\n" + line += "\n" + Graphics_ModeCheck = True + + body += line + +infile.close() + +outfile = open(plist, "w") +outfile.write(body) +outfile.close() Property changes on: trunk/package/Scripts/Resolutions/1280x800x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/package/Scripts/Resolutions/1680x1050x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1680x1050x32/postinstall (revision 1475) +++ trunk/package/Scripts/Resolutions/1680x1050x32/postinstall (revision 1476) @@ -19,13 +19,13 @@ # "GraphicsEnabler<\key>" and "Yes" if "GraphicsEnabler" in line: line = infile.next() - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1680x1050x32\n" InstantMenuCheck = True # if we finish the tags and haven't written Graphics_Mode Yet if "" in line and Graphics_ModeCheck == False: - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1680x1050x32\n" line += "\n" Graphics_ModeCheck = True Index: trunk/package/Scripts/Resolutions/1920x1080x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1920x1080x32/postinstall (revision 1475) +++ trunk/package/Scripts/Resolutions/1920x1080x32/postinstall (revision 1476) @@ -19,13 +19,13 @@ # "GraphicsEnabler<\key>" and "Yes" if "GraphicsEnabler" in line: line = infile.next() - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1920x1080x32\n" InstantMenuCheck = True # if we finish the tags and haven't written Graphics_Mode Yet if "" in line and Graphics_ModeCheck == False: - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1920x1080x32\n" line += "\n" Graphics_ModeCheck = True Index: trunk/package/Scripts/Resolutions/1280x960x32/postinstall =================================================================== --- trunk/package/Scripts/Resolutions/1280x960x32/postinstall (revision 1475) +++ trunk/package/Scripts/Resolutions/1280x960x32/postinstall (revision 1476) @@ -19,13 +19,13 @@ # "GraphicsEnabler<\key>" and "Yes" if "GraphicsEnabler" in line: line = infile.next() - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1280x960x32\n" InstantMenuCheck = True # if we finish the tags and haven't written Graphics_Mode Yet if "" in line and Graphics_ModeCheck == False: - line = " Graphics_Mode\n" + line = " Graphics Mode\n" line += " 1280x960x32\n" line += "\n" Graphics_ModeCheck = True Index: trunk/package/Resources/pl.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/id.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/it.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/hr-HR.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/en.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/pt-BR.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/pt-PT.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/sr.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/es.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/de.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream