mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Add warning on game close if user launched browser
This commit is contained in:
@@ -32,6 +32,8 @@ async function createWindow(killall) {
|
||||
// and open every other protocols on the browser
|
||||
e.preventDefault();
|
||||
shell.openExternal(url);
|
||||
|
||||
global.app_playerOpenedExternalLink = true;
|
||||
});
|
||||
window.webContents.backgroundThrottling = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user