mirror of
https://github.com/ViennaRSS/vienna-rss.git
synced 2026-04-07 19:27:39 +00:00
Request more appropriate quality of service
This code is executed in response to user action, e.g. plug-in action or AppleScript menu.
This commit is contained in:
@@ -916,7 +916,7 @@ withReplyEvent:(NSAppleEventDescriptor *)replyEvent
|
||||
-(void)runAppleScript:(NSString *)scriptName
|
||||
{
|
||||
NSString *baseScriptName = scriptName.lastPathComponent.stringByDeletingPathExtension;
|
||||
dispatch_async(dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0), ^{
|
||||
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0), ^{
|
||||
NSDictionary *errorDictionary;
|
||||
NSURL *scriptURL = [NSURL fileURLWithPath:scriptName];
|
||||
NSAppleScript *appleScript = [[NSAppleScript alloc] initWithContentsOfURL:scriptURL error:&errorDictionary];
|
||||
|
||||
Reference in New Issue
Block a user