Chameleon Applications

Chameleon Applications Commit Details

Date:2010-09-24 08:25:36 (13 years 6 months ago)
Author:blackosx
Commit:127
Parents: 126
Message:Starting again with the PackageBuilder trunk files
Changes:
D/trunk/PackageBuilder/Distribution
D/trunk/PackageBuilder/Configuration

File differences

trunk/PackageBuilder/Distribution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0"?>
<installer-gui-script minSpecVersion='1'>
<options
hostArchitectures='i386'
/>
<domains enable_anywhere="true"/>
<welcome file='Welcome.rtfd'/>
<license file="License.rtf" sla="EA0401"/>
<readme file='Description.html'/>
<conclusion file="Conclusion.rtfd"/>
<background file='background.tiff' alignment='topleft' scaling='proportional'/>
<title>Chameleon_title</title>
<script>
function installCheckScript()
{
var obj = system.ioregistry.matchingClass("AppleSMC");
if (obj) {
system.log('installCheckScript: Found AppleSMC');
my.result.message = system.localizedStringWithFormat('Intel_Mac_message');
my.result.type = 'Fatal';
return false;
}
system.log('installCheckScript: Passed.');
return false;
}
function volCheckScript()
{
system.log('volCheckScript: Passed.');
return true;
}
function upgrade_allowed(){
var upgradable = true;
var upgradeAction = my.choice.packageUpgradeAction;
if((upgradeAction == "downgrade") || (upgradeAction == "mixed")){
my.choice.tooltip = system.localizedString('Newer_Package_Installed_message');
upgradable = false;
}
return upgradable;
}
function systemHasGPT(){
var obj = system.ioregistry.matchingName("EFI System Partition");
if (obj)
return true;
return false;
}
function exclusive(toggle){
toggle.selected = ( my.choice.selected != "false" ? "false" : "true" );
return ( toggle.selected != false ? false : true );
}
</script>

Archive Download the corresponding diff file

Revision: 127