mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
commit
795f8b4d2b
@ -36,7 +36,7 @@ require("http")
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.listen(9990);
|
.listen(9990, "127.0.0.1");
|
||||||
|
|
||||||
function createWindow(killall) {
|
function createWindow(killall) {
|
||||||
win = new BrowserWindow({
|
win = new BrowserWindow({
|
||||||
@ -178,11 +178,11 @@ function setStopProcessHandler(app, window, enabled) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const stopProcessHandler = () => {
|
const stopProcessHandler = () => {
|
||||||
if (process.platform !== "darwin") {
|
log.info('Quitting the app...');
|
||||||
log.info('Quitting the app...');
|
app.isQuiting = true;
|
||||||
app.quit();
|
app.quit();
|
||||||
process.exit(0);
|
// eslint-disable-next-line no-process-exit
|
||||||
}
|
process.exit(0);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
package-lock.json
generated
1
package-lock.json
generated
@ -5,7 +5,6 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bitburner",
|
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "SEE LICENSE IN license.txt",
|
"license": "SEE LICENSE IN license.txt",
|
||||||
|
@ -542,7 +542,7 @@ BitNodes["BitNode13"] = new BitNode(
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
Their leader, Allison "Mother" Stanek is said to have created her own Augmentation whose power goes beyond any
|
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.
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
In this BitNode:
|
In this BitNode:
|
||||||
|
11
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
11
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -3825,7 +3825,7 @@ interface Stanek {
|
|||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
interface UserInterface {
|
interface UserInterface {
|
||||||
/**
|
/**
|
||||||
* Get the current theme
|
* Get the current theme
|
||||||
* @remarks
|
* @remarks
|
||||||
* RAM cost: cost: 0 GB
|
* RAM cost: cost: 0 GB
|
||||||
@ -4373,7 +4373,7 @@ export interface NS extends Singularity {
|
|||||||
tail(fn?: string, host?: string, ...args: any[]): void;
|
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
|
* @remarks
|
||||||
* RAM cost: 0.2 GB
|
* RAM cost: 0.2 GB
|
||||||
*
|
*
|
||||||
@ -4381,7 +4381,7 @@ export interface NS extends Singularity {
|
|||||||
* node way from the specified target server. The hostnames in the returned
|
* node way from the specified target server. The hostnames in the returned
|
||||||
* array are strings.
|
* 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.
|
* @returns Returns an string of hostnames.
|
||||||
*/
|
*/
|
||||||
scan(host?: string): string[];
|
scan(host?: string): string[];
|
||||||
@ -5753,9 +5753,9 @@ export interface NS extends Singularity {
|
|||||||
* Get information about the player.
|
* Get information about the player.
|
||||||
* @remarks
|
* @remarks
|
||||||
* RAM cost: 0.5 GB
|
* RAM cost: 0.5 GB
|
||||||
*
|
*
|
||||||
* Returns an object with information on the current player.
|
* Returns an object with information on the current player.
|
||||||
*
|
*
|
||||||
* @returns Player info
|
* @returns Player info
|
||||||
*/
|
*/
|
||||||
getPlayer(): Player;
|
getPlayer(): Player;
|
||||||
@ -6272,7 +6272,6 @@ interface Division {
|
|||||||
cities: string[];
|
cities: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface Theme
|
* Interface Theme
|
||||||
* @internal
|
* @internal
|
||||||
|
Loading…
Reference in New Issue
Block a user