From 5db42cd9f0d6a737b40d8e8a2ab910d496d40586 Mon Sep 17 00:00:00 2001 From: cutls Date: Sun, 5 Jan 2020 22:42:58 +0900 Subject: [PATCH] fix --- app/main/system.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main/system.js b/app/main/system.js index 9957d7d2..be1ec862 100644 --- a/app/main/system.js +++ b/app/main/system.js @@ -338,11 +338,11 @@ function system(mainWindow, dir, lang, dirname) { nc('addObserver', gs, 'selector', 'getMySongs:', 'name', notification, 'object', null) - var app = $.NSApplication('sharedApplication') + var apps = $.NSApplication('sharedApplication') function runLoop() { var pool = $.NSAutoreleasePool('alloc')('init') try { - app( + apps( 'nextEventMatchingMask', $.NSAnyEventMask.toString(), 'untilDate',