[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>swiftingly
parent
1a4d66a773
commit
26a20db383
|
@ -515,7 +515,7 @@ static PluginController *sharedPluginController = nil;
|
|||
|
||||
[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) {
|
||||
DLog(@"Error saving Info.plist!");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue