[Sandbox] Update Info.plist generator
Plist generator now emits the output to the temporary folder, which we have write permission to. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
1a4d66a773
commit
26a20db383
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ static PluginController *sharedPluginController = nil;
|
||||||
|
|
||||||
[stringList addObject:plistFooter];
|
[stringList addObject:plistFooter];
|
||||||
|
|
||||||
NSFileHandle *fileHandle = [NSFileHandle fileHandleForWritingAtPath:@"/tmp/Cog_Info.plist" createFile:YES];
|
NSFileHandle *fileHandle = [NSFileHandle fileHandleForWritingAtPath:[NSTemporaryDirectory() stringByAppendingPathComponent:@"Cog_Info.plist"] createFile:YES];
|
||||||
if (!fileHandle) {
|
if (!fileHandle) {
|
||||||
DLog(@"Error saving Info.plist!");
|
DLog(@"Error saving Info.plist!");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue