ok brah
This commit is contained in:
parent
2c167fdb16
commit
9d120c2f05
3 changed files with 3 additions and 6 deletions
|
|
@ -26,7 +26,7 @@
|
|||
"borderless": false,
|
||||
"enableInspector": true,
|
||||
"openInspectorOnStartup": true,
|
||||
"exitProcessOnClose": false
|
||||
"exitProcessOnClose": true
|
||||
}
|
||||
},
|
||||
"port": 5050,
|
||||
|
|
@ -44,5 +44,5 @@
|
|||
"commandWindows": "powershell.exe -ExecutionPolicy Bypass -File \"${NL_PATH}/extensions/js.neutralino.discordrpc/bridge.ps1\""
|
||||
}
|
||||
],
|
||||
"nativeAllowList": ["app.exit", "window.*", "extensions.*", "filesystem.*", "events.*", "os.*"]
|
||||
"nativeAllowList": ["app.*", "window.*", "extensions.*", "events.*", "os.*", "filesystem.*", "debug.*", "storage.*", "computer.*", "clipboard.*", "updater.*"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,5 +44,5 @@
|
|||
"commandWindows": "powershell.exe -ExecutionPolicy Bypass -File \"${NL_PATH}/extensions/js.neutralino.discordrpc/bridge.ps1\""
|
||||
}
|
||||
],
|
||||
"nativeAllowList": ["app.exit", "window.*", "extensions.*", "events.*", "os.*", "filesystem.*"]
|
||||
"nativeAllowList": ["app.*", "window.*", "extensions.*", "events.*", "os.*", "filesystem.*", "debug.*", "storage.*", "computer.*", "clipboard.*", "updater.*"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -129,9 +129,6 @@
|
|||
|
||||
// Listen for specific events to forward
|
||||
// Add more here if the app needs them (e.g., tray events)
|
||||
Neutralino.events.on('windowClose', async () => {
|
||||
await Neutralino.window.hide();
|
||||
});
|
||||
Neutralino.events.on('windowFocus', () => forwardEvent('windowFocus'));
|
||||
Neutralino.events.on('windowBlur', () => forwardEvent('windowBlur'));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue