TheAfroOfDoom/omega-flowey-minecraft-remastered

add script to extract `world.zip` to developer's `.minecraft/saves` folder

Closed this issue · 2 comments

we keep a working backup of the world save at world.zip in this repo

right now to actually use it the user has to manually copy+paste / extract it to their .minecraft/saves folder


TODO of this ticket is to create a script that reads in the user's .minecraft/saves path through an environment variable and auto-extracts world.zip to there.

probably something like:

yarn sync down

(as opposed to yarn sync [up] which already exists now to zip and backup the world to the repo)

Could (should?) be implemented along with #2

this should be pretty easy if you just make a new script in ./package-scripts/ and call it with node ./package-scripts/blah.js

probably use this package: https://www.npmjs.com/package/extract-zip