save actual file contents (#768)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -25,7 +25,7 @@ export async function exportSave(data: ArrayBuffer) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Write the file.
|
// Write the file.
|
||||||
await writeBinaryFile(filePath, uintArray)
|
await writeBinaryFile(filePath, file.contents)
|
||||||
} else {
|
} else {
|
||||||
// Download the file to the user's computer.
|
// Download the file to the user's computer.
|
||||||
// Now we need to download the files to the user's downloads folder.
|
// Now we need to download the files to the user's downloads folder.
|
||||||
|
Reference in New Issue
Block a user