Chameleon

Chameleon Commit Details

Date:2011-09-01 22:57:38 (8 years 2 months ago)
Author:blackosx
Commit:1494
Parents: 1493
Message:Update package postinstall scripts for checking existence of org.chameleon.Boot.plist, generating it if it doesn't exist
Changes:
M/branches/blackosx/package/Scripts/Advanced/UseNvidiaROM/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/RestartFix/postinstall
M/branches/blackosx/package/Scripts/Advanced/EHCIacquire/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1024x600x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/VBIOS/postinstall
M/branches/blackosx/package/Scripts/Advanced/SMBIOSdefaults/postinstall
M/branches/blackosx/package/Scripts/Advanced/LegacyLogo/postinstall
M/branches/blackosx/package/Scripts/Advanced/Wake/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1280x800x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/UHCIreset/postinstall
M/branches/blackosx/package/Scripts/Advanced/ShowInfo/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EnableC3State/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/GenerateCStates/postinstall
M/branches/blackosx/package/Scripts/Advanced/Wait/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1920x1200x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/ForceWake/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1280x1024x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/UseAtiROM/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1680x1050x32/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1920x1080x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/QuietBoot/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/GeneratePStates/postinstall
M/branches/blackosx/package/Scripts/Advanced/ForceHPET/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/DropSSDT/postinstall
M/branches/blackosx/package/Scripts/Advanced/UseMemDetect/postinstall
M/branches/blackosx/package/Scripts/Advanced/GUI/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1600x900x32/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/InstantMenu/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1440x900x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/Npci/postinstall
M/branches/blackosx/package/Scripts/Advanced/BootBanner/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EnableC2State/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/arch/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1280x960x32/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EnableC4State/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1024x768x32/postinstall

File differences

branches/blackosx/package/Scripts/Advanced/ForceHPET/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if ForceHPET has been written or not
ForceHPETCheck = False
branches/blackosx/package/Scripts/Advanced/EHCIacquire/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EHCIacquire has been written or not
EHCIacquireCheck = False
branches/blackosx/package/Scripts/Advanced/VBIOS/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if VBIOS has been written or not
VBIOSCheck = False
branches/blackosx/package/Scripts/Advanced/GUI/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GUI has been written or not
GUICheck = False
branches/blackosx/package/Scripts/Advanced/SMBIOSdefaults/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if SMBIOSdefault has been written or not
SMBIOSdefaultCheck = False
branches/blackosx/package/Scripts/Advanced/UseMemDetect/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UseMemDetect has been written or not
UseMemDetectCheck = False
branches/blackosx/package/Scripts/Advanced/LegacyLogo/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if LegacyLogo has been written or not
LegacyLogoCheck = False
branches/blackosx/package/Scripts/Advanced/Wake/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Wake has been written or not
WakeCheck = False
branches/blackosx/package/Scripts/Advanced/BootBanner/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if BootBanner has been written or not
BootBannerCheck = False
branches/blackosx/package/Scripts/Advanced/Npci/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Kernel Flags has been written or not
KernelFlagsCheck = False
branches/blackosx/package/Scripts/Advanced/UHCIreset/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UHCIreset has been written or not
UHCIresetCheck = False
branches/blackosx/package/Scripts/Advanced/ShowInfo/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if ShowInfo has been written or not
ShowInfoCheck = False
branches/blackosx/package/Scripts/Advanced/Wait/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Wait has been written or not
WaitCheck = False
branches/blackosx/package/Scripts/Advanced/UseNvidiaROM/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UseNvidiaROM has been written or not
UseNvidiaROMCheck = False
branches/blackosx/package/Scripts/Advanced/ForceWake/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if ForceWake has been written or not
ForceWakeCheck = False
branches/blackosx/package/Scripts/Advanced/UseAtiROM/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UseAtiROM has been written or not
UseAtiROMCheck = False
branches/blackosx/package/Scripts/Advanced/QuietBoot/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if QuietBoot has been written or not
QuietBootCheck = False
branches/blackosx/package/Scripts/BaseOptions/GenerateCStates/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GenerateCStates has been written or not
GenerateCStatesCheck = False
branches/blackosx/package/Scripts/BaseOptions/DropSSDT/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if DropSSDT has been written or not
DropSSDTCheck = False
branches/blackosx/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EthernetBuiltIn has been written or not
EthernetBuiltInCheck = False
branches/blackosx/package/Scripts/BaseOptions/InstantMenu/postinstall
44
55
66
7
78
89
910
1011
12
13
14
1115
1216
1317
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Instant Menu has been written or not
InstantMenuCheck = False
branches/blackosx/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GraphicsEnabler has been written or not
GraphicsEnablerCheck = False
branches/blackosx/package/Scripts/BaseOptions/RestartFix/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if RestartFix has been written or not
RestartFixCheck = False
branches/blackosx/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if CSTUsingSystemIO has been written or not
CSTUsingSystemIOCheck = False
branches/blackosx/package/Scripts/BaseOptions/EnableC2State/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EnableC2State has been written or not
EnableC2StateCheck = False
branches/blackosx/package/Scripts/BaseOptions/EnableC3State/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EnableC3State has been written or not
EnableC3StateCheck = False
branches/blackosx/package/Scripts/BaseOptions/arch/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if arch has been written or not
archCheck = False
branches/blackosx/package/Scripts/BaseOptions/EnableC4State/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if EnableC4State has been written or not
EnableC4StateCheck = False
branches/blackosx/package/Scripts/BaseOptions/GeneratePStates/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if GeneratePStates has been written or not
GeneratePStatesCheck = False
branches/blackosx/package/Scripts/Resolutions/1024x768x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1024x600x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1920x1200x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1600x900x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1280x1024x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1440x900x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1280x800x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1680x1050x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1920x1080x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False
branches/blackosx/package/Scripts/Resolutions/1280x960x32/postinstall
33
44
55
6
67
78
89
910
11
12
13
1014
1115
1216
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if Graphics_Mode has been written or not
Graphics_ModeCheck = False

Archive Download the corresponding diff file

Revision: 1494