@etothepii/satisfactory-file-parser
Advanced tools
Comparing version 0.0.20 to 0.0.21
{ | ||
"name": "@etothepii/satisfactory-file-parser", | ||
"author": "etothepii", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "A file parser for satisfactory files. Includes save files and blueprint files.", | ||
@@ -6,0 +6,0 @@ "typings": "./build/index.d.ts", |
@@ -53,3 +53,3 @@ # Satisfactory File Parser | ||
// write complete sav file back to disk | ||
fs.writeFileSync('./MyModifiedSave.sav', Buffer.concat([header, ...bodyChunks])); | ||
fs.writeFileSync('./MyModifiedSave.sav', Buffer.concat([header!, ...bodyChunks])); | ||
``` | ||
@@ -88,3 +88,3 @@ | ||
// write .sbpcfg file back to disk, we get that data from the result of WriteBlueprint | ||
// write .sbpcfg file back to disk, we get that data from the result of WriteBlueprintFiles | ||
fs.writeFileSync('./MyModifiedSave.sbpcfg', Buffer.from(summary.configFileBinary)); | ||
@@ -91,0 +91,0 @@ ``` |
151625