Skip to content

Commit 26a20db

Browse files
committed
[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>
1 parent 1a4d66a commit 26a20db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Audio/PluginController.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ - (void)printPluginInfo {
515515

516516
[stringList addObject:plistFooter];
517517

518-
NSFileHandle *fileHandle = [NSFileHandle fileHandleForWritingAtPath:@"/tmp/Cog_Info.plist" createFile:YES];
518+
NSFileHandle *fileHandle = [NSFileHandle fileHandleForWritingAtPath:[NSTemporaryDirectory() stringByAppendingPathComponent:@"Cog_Info.plist"] createFile:YES];
519519
if (!fileHandle) {
520520
DLog(@"Error saving Info.plist!");
521521
return;

0 commit comments

Comments
 (0)