diff --git a/electron/main.js b/electron/main.js index b7b1d17c0..6fb98808b 100644 --- a/electron/main.js +++ b/electron/main.js @@ -26,7 +26,7 @@ require("http") }); }); }) - .listen(9990); + .listen(9990, "127.0.0.1"); function createWindow(killall) { win = new BrowserWindow({ @@ -143,11 +143,10 @@ function setStopProcessHandler(app, window, enabled) { }; const stopProcessHandler = () => { - if (process.platform !== "darwin") { - app.quit(); - // eslint-disable-next-line no-process-exit - process.exit(0); - } + app.isQuiting = true; + app.quit(); + // eslint-disable-next-line no-process-exit + process.exit(0); }; if (enabled) { diff --git a/src/BitNode/BitNode.tsx b/src/BitNode/BitNode.tsx index 750f846d6..48e2aa97f 100644 --- a/src/BitNode/BitNode.tsx +++ b/src/BitNode/BitNode.tsx @@ -542,7 +542,7 @@ BitNodes["BitNode13"] = new BitNode(

Their leader, Allison "Mother" Stanek is said to have created her own Augmentation whose power goes beyond any - other. Find her in Chongquing and gain her trust. + other. Find her in Chongqing and gain her trust.

In this BitNode: diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 192ce792e..d0f20850f 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -3748,7 +3748,7 @@ interface Stanek { * @public */ interface UserInterface { -/** + /** * Get the current theme * @remarks * RAM cost: cost: 0 GB @@ -4218,7 +4218,7 @@ export interface NS extends Singularity { tail(fn?: string, host?: string, ...args: any[]): void; /** - * Get the list servers connected to a server. + * Get the list of servers connected to a server. * @remarks * RAM cost: 0.2 GB * @@ -4226,7 +4226,7 @@ export interface NS extends Singularity { * node way from the specified target server. The hostnames in the returned * array are strings. * - * @param host - Hostname of the server to scan. + * @param host - Optional, Hostname of the server to scan, default to current server. * @returns Returns an string of hostnames. */ scan(host?: string): string[]; @@ -5406,9 +5406,9 @@ export interface NS extends Singularity { * Get information about the player. * @remarks * RAM cost: 0.5 GB - * + * * Returns an object with information on the current player. - * + * * @returns Player info */ getPlayer(): Player; @@ -5914,7 +5914,6 @@ interface Division { cities: string[]; } - /** * Interface Theme * @internal