-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
sync.down
script to extract world.zip
to client saves directory
- closes #53 - creates a backup in a `tmp` directory so we don't unintentionally lose local world changes - tested by running the following steps: 1. sync-up world with `yarn sync` 2. move player to a different spot in the world (e.g. turn around 180 degrees) 3. sync-down world with `yarn down` 4. open world and see that player is in the original spot before we turned them around
- Loading branch information
1 parent
c3112f3
commit 2ed09cc
Showing
4 changed files
with
147 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"name": "omega-flowey-minecraft-remastered", | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"down": "nps sync.world.down", | ||
"lint": "nps lint", | ||
"lint.fix": "nps lint.fix", | ||
"start": "nps", | ||
|
@@ -16,6 +17,7 @@ | |
"chokidar": "3.5.3", | ||
"dotenv": "16.3.1", | ||
"eslint": "8.56.0", | ||
"extract-zip": "2.0.1", | ||
"find-process": "1.4.7", | ||
"fs-extra": "11.2.0", | ||
"glob": "10.3.10", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters