diff --git a/apps/remix-ide/src/app/ui/landing-page/landing-page.js b/apps/remix-ide/src/app/ui/landing-page/landing-page.js index b8d5c82085..0a1e2ca92b 100644 --- a/apps/remix-ide/src/app/ui/landing-page/landing-page.js +++ b/apps/remix-ide/src/app/ui/landing-page/landing-page.js @@ -329,9 +329,7 @@ export class LandingPage extends ViewPlugin { const fileProviders = globalRegistry.get('fileproviders').api const zip = new JSZip() await fileProviders.browser.copyFolderToJson('/', ({ path, content }) => { - zip.file(path, content) - }, ({ path, content }) => { - zip.folder(path, content) + zip.file(`remixbackup${path}`, content) }) zip.generateAsync({ type: 'blob' }).then(function (blob) { saveAs(blob, 'remixdbackup.zip')