README + package naming update
This commit is contained in:
parent
10f274ed52
commit
75cf4b5d37
3 changed files with 46 additions and 9 deletions
40
README.md
40
README.md
|
@ -1 +1,39 @@
|
||||||
# bitburner-remote
|
# bitburner-filesync
|
||||||
|
|
||||||
|
A file synchronisation utility for Bitburner, using the Remote File API.
|
||||||
|
|
||||||
|
It allows players to synchronize scripts and text files from their computer's disk to the game in both the Electron build and website.
|
||||||
|
|
||||||
|
## How to use (for users)
|
||||||
|
You must have a recent version of `npm` installed after which you can run
|
||||||
|
```
|
||||||
|
npx bitburner-filesync
|
||||||
|
```
|
||||||
|
|
||||||
|
This pulls and runs the latest release of bitburner-filesync for you.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The program, when ran, uses a local file to have itself configured to your preferences.
|
||||||
|
This file is `filesync.json` within the directory you start bitburner-filesync.
|
||||||
|
|
||||||
|
Here's an example of it's contents:
|
||||||
|
|
||||||
|
```js
|
||||||
|
{
|
||||||
|
"allowedFiletypes": [
|
||||||
|
".js",
|
||||||
|
".script",
|
||||||
|
".txt"
|
||||||
|
],
|
||||||
|
"allowDeletingFiles": false,
|
||||||
|
"port": 12525,
|
||||||
|
"scriptsFolder": ".",
|
||||||
|
"quiet": false,
|
||||||
|
"dry": false,
|
||||||
|
"definitionFile": {
|
||||||
|
"update": false,
|
||||||
|
"location": "NetScriptDefinitions.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
15
package.json
15
package.json
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "bitburner-remote",
|
"name": "bitburner-filesync",
|
||||||
"version": "1.0.7",
|
"version": "1.0.0",
|
||||||
"description": "Official implementation of the Bitburner Remote Server",
|
"description": "Official implementation of the Bitburner Filesync server",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": "./npx/bitburner-remote.js",
|
"bin": "./npx/bitburner-filesync.js",
|
||||||
"main": "./npx/bitburner-remote.js",
|
"main": "./npx/bitburner-filesync.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "node src/index.js"
|
"start": "node src/index.js"
|
||||||
|
@ -18,12 +18,11 @@
|
||||||
"rfa",
|
"rfa",
|
||||||
"remote"
|
"remote"
|
||||||
],
|
],
|
||||||
"author": "Zoë Hoekstra",
|
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Hoekstraa/bitburner-remote/issues"
|
"url": "https://github.com/bitburner-official/bitburner-filesync/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/Hoekstraa/bitburner-remote#readme",
|
"homepage": "https://github.com/bitburner-official/bitburner-filesync#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cheap-watch": "^1.0.4",
|
"cheap-watch": "^1.0.4",
|
||||||
"convict": "^6.2.3",
|
"convict": "^6.2.3",
|
||||||
|
|
Loading…
Add table
Reference in a new issue