mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Export settings and all prototypes
Add settings and all prototypes to the export of data done. Settings are needed for a settings GUI to function, while prototype data would be useful to display any sort of information about things from the game.
This commit is contained in:
1 parent
fb75e47eda
commit
7c6aaeb05d
7 files changed
+161
-110
No files matched your search
@@ -197,6 +197,8 @@ async function uploadExport(req, res) {
|
||||
|
||||
// This is hardcoded to prevent path expansion attacks
|
||||
let exportFiles = [
|
||||
"export/settings.json",
|
||||
"export/prototypes.json",
|
||||
"export/item-spritesheet.png",
|
||||
"export/item-metadata.json",
|
||||
"export/locale.json",
|
||||
|
||||
Reference in new issue
Block a user