|
|
@ -329,9 +329,7 @@ export class LandingPage extends ViewPlugin { |
|
|
|
const fileProviders = globalRegistry.get('fileproviders').api |
|
|
|
const fileProviders = globalRegistry.get('fileproviders').api |
|
|
|
const zip = new JSZip() |
|
|
|
const zip = new JSZip() |
|
|
|
await fileProviders.browser.copyFolderToJson('/', ({ path, content }) => { |
|
|
|
await fileProviders.browser.copyFolderToJson('/', ({ path, content }) => { |
|
|
|
zip.file(path, content) |
|
|
|
zip.file(`remixbackup${path}`, content) |
|
|
|
}, ({ path, content }) => { |
|
|
|
|
|
|
|
zip.folder(path, content) |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
zip.generateAsync({ type: 'blob' }).then(function (blob) { |
|
|
|
zip.generateAsync({ type: 'blob' }).then(function (blob) { |
|
|
|
saveAs(blob, 'remixdbackup.zip') |
|
|
|
saveAs(blob, 'remixdbackup.zip') |
|
|
|