diff --git a/forge.config.ts b/forge.config.ts index ff10a7f..4236a5b 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -12,6 +12,7 @@ import * as path from 'path'; const config: ForgeConfig = { packagerConfig: { asar: true, + tmpdir: path.resolve(process.cwd(), '..', 'electron-packager-tmp'), }, rebuildConfig: {}, makers: [ @@ -70,8 +71,8 @@ const config: ForgeConfig = { }, async preMake() { - const outDir = path.resolve(process.cwd(), 'out'); - fs.rmSync(outDir, { recursive: true, force: true }); + const makeDir = path.resolve(process.cwd(), 'out', 'make'); + fs.rmSync(makeDir, { recursive: true, force: true }); }, async postPackage(_forgeConfig, options) { diff --git a/index.html b/index.html index 8576aba..2d795ce 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,6 @@
- +