Native files are now stored in the OS temp directory.

Temp folder is deleted when minecraft is closed. If the Node.js process ends abruptly, the folder will not delete. As a dirty way to counter this, the directory we extract native files to is cleaned in the preloader. Maybe we'll come up with a more elegant solution in the future.
This commit is contained in:
Daniel Scalzi
2018-04-15 00:00:08 -04:00
parent 5475ac0c69
commit be39d60705
7 changed files with 53 additions and 29 deletions

View File

@@ -36,6 +36,7 @@
"jquery": "^3.3.1",
"mkdirp": "^0.5.1",
"request-promise-native": "^1.0.5",
"rimraf": "^2.6.2",
"tar-fs": "^1.16.0",
"uuid": "^3.2.1",
"winreg": "^1.2.4"