From 9d120c2f05ef28e9f7f2b81fa13de1d542574b84 Mon Sep 17 00:00:00 2001 From: Samidy Date: Fri, 20 Feb 2026 17:01:22 +0300 Subject: [PATCH] ok brah --- neutralino.config.dev.json | 4 ++-- neutralino.config.json | 2 +- public/neutralino_loader.html | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/neutralino.config.dev.json b/neutralino.config.dev.json index 87606da..668e94a 100644 --- a/neutralino.config.dev.json +++ b/neutralino.config.dev.json @@ -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.*"] } diff --git a/neutralino.config.json b/neutralino.config.json index 2160c05..8a78f77 100644 --- a/neutralino.config.json +++ b/neutralino.config.json @@ -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.*"] } diff --git a/public/neutralino_loader.html b/public/neutralino_loader.html index 0b7c3a7..50ef8fb 100644 --- a/public/neutralino_loader.html +++ b/public/neutralino_loader.html @@ -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'));