mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +00:00
Update AppIconOptionsController.m
This commit is contained in:
parent
e2f6ace200
commit
a42e2fef61
1 changed files with 2 additions and 1 deletions
|
|
@ -123,7 +123,8 @@
|
||||||
} else {
|
} else {
|
||||||
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
|
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
|
||||||
[dict setObject:iconURL forKey:@"iconURL"];
|
[dict setObject:iconURL forKey:@"iconURL"];
|
||||||
[dict writeToFile:[[NSBundle mainBundle] pathForResource:@"Info" ofType:@"plist"] atomically:YES];
|
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"Info" ofType:@"plist"];
|
||||||
|
[dict writeToFile:filePath atomically:YES];
|
||||||
|
|
||||||
[self showAlertWithTitle:@"Alternate Icon" message:@"Please restart the app to apply the alternate icon"];
|
[self showAlertWithTitle:@"Alternate Icon" message:@"Please restart the app to apply the alternate icon"];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue