diff --git a/forge.config.ts b/forge.config.ts index c59a670..6be50f3 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -10,6 +10,7 @@ import { FuseV1Options, FuseVersion } from '@electron/fuses'; const config: ForgeConfig = { packagerConfig: { asar: true, + extraResource: ['resources'] }, rebuildConfig: {}, makers: [ diff --git a/index.html b/index.html index ea9cf07..38d1425 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@
- +
Vynte Connect
Vynte access
@@ -22,7 +22,7 @@ - +
diff --git a/src/main.ts b/src/main.ts index b6db933..96d58a3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -42,7 +42,7 @@ let cachedStatus = { ...DEFAULT_STATUS }; function resourcePath(name: string) { if (app.isPackaged) { - return path.join(process.resourcesPath, 'app', 'resources', name); + return path.join(process.resourcesPath, 'resources', name); } return path.join(app.getAppPath(), 'resources', name); }