Chameleon Applications

Chameleon Applications Commit Details

Date:2011-12-04 20:22:41 (12 years 4 months ago)
Author:Rekursor
Commit:436
Parents: 435
Message:Fixed Smbios.plist would not open correctly
Changes:
M/trunk/ChameleonPrefPane/ChameleonPrefPane.xcodeproj/project.pbxproj
M/trunk/ChameleonPrefPane/bin/OSX106/Chameleon.zip
M/trunk/ChameleonPrefPane/Sources/SmbiosController.mm
M/trunk/ChameleonPrefPane/bin/version

File differences

trunk/ChameleonPrefPane/Sources/SmbiosController.mm
4646
4747
4848
49
50
51
4952
5053
5154
......
7174
7275
7376
74
77
7578
7679
7780
- (const char *) getSmbiosFilePath
{
static std::string path;
path = BootProp::instance().propFilePath();
if (fileExists(path.c_str()))
return path.c_str();
if (fileExists("/Extra/smbios.plist"))
return "/Extra/smbios.plist";
else if (fileExists("/smbios.plist"))
AuthorizationRef auth = [[self chameleon] auth ];
if (smbiosPath.length()==0 || auth==nil) return;
std::string cmd = "/usr/bin/open " + smbiosPath;
std::string cmd = "/usr/bin/open \"" + smbiosPath +"\"";
system(cmd.c_str());
}
trunk/ChameleonPrefPane/bin/version
1
1
r434
r436
trunk/ChameleonPrefPane/ChameleonPrefPane.xcodeproj/project.pbxproj
232232
233233
234234
235
236
237
238
239
240
241
242
243
244
245
235246
236247
237248
......
327338
328339
329340
330
331
332
333
341
334342
335343
336344
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
011DCC51148BFBDD00A12702 /* Scripts */ = {
isa = PBXGroup;
children = (
01A25D68111109FF0024EA7E /* cdBootCreator.sh */,
61A9E7B11389404D00043B27 /* extractAcpi.sh */,
01A25D69111109FF0024EA7E /* getDevProp.sh */,
01A25D6A111109FF0024EA7E /* gfxutil */,
);
name = Scripts;
sourceTree = "<group>";
};
01E314A9110FF91C0058F210 /* Controllers */ = {
isa = PBXGroup;
children = (
B316F470111C6056007EFE5E /* Italian.lproj */,
B3F3522D1125C0290051DFA5 /* Spanish.lproj */,
B316F508111C632B007EFE5E /* Images */,
01A25D68111109FF0024EA7E /* cdBootCreator.sh */,
61A9E7B11389404D00043B27 /* extractAcpi.sh */,
01A25D69111109FF0024EA7E /* getDevProp.sh */,
01A25D6A111109FF0024EA7E /* gfxutil */,
011DCC51148BFBDD00A12702 /* Scripts */,
01B0E8261108B89100ACF21B /* CREDITS */,
8D202CF70486D31800D8A456 /* Info.plist */,
F506C042013D9D8C01CA16C8 /* Chameleon.xib */,

Archive Download the corresponding diff file

Revision: 436