This commit is contained in:
cutls 2020-01-05 22:42:58 +09:00
parent e7599a05f8
commit 5db42cd9f0

View File

@ -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',