mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
MISC: Support JSX, TS, TSX script files (#1216)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
In Bitburner "Programs" refer specifically to the list of `.exe` files found in the Programs tab of the side menu.
|
||||
|
||||
Unlike `.js` [scripts](scripts.md) you write for yourself with JavaScript, Programs are supplied to you by Bitburner and are only "programs" in name; they do not require or allow you to access actual lines of code. Instead once you have a Program you will be able to use it directly as a function in the [Terminal](terminal.md) or scripts.
|
||||
Unlike [scripts](scripts.md) you write for yourself with JavaScript, Programs are supplied to you by Bitburner and are only "programs" in name; they do not require or allow you to access actual lines of code. Instead once you have a Program you will be able to use it directly as a function in the [Terminal](terminal.md) or scripts.
|
||||
|
||||
[n00dles /]> run BruteSSH.exe
|
||||
[n00dles /]> scan-analyze 10
|
||||
|
||||
@@ -114,7 +114,7 @@ Check how much [RAM](ram.md) a script requires to run with "n" threads
|
||||
**nano [script]**
|
||||
|
||||
Create/Edit a script.
|
||||
The name of a script must end with `.js`, but you can also create `.txt` files.
|
||||
The name of a script must end with a script extension (.js, .jsx, .ts, .tsx, .script). You can also create a text file with a text extension (.txt, .json).
|
||||
|
||||
**ps**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user