diff --git a/electron-builder.json5 b/electron-builder.json5 index 30e2e64..830186f 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -3,6 +3,7 @@ */ { appId: "com.ldc.app-kiosk", + productName: "App Kiosk", asar: false, directories: { output: "release/${version}", @@ -11,6 +12,7 @@ mac: { artifactName: "${productName}_${version}.${ext}", target: ["dmg"], + icon: "ldc-intl.png", }, win: { target: [ @@ -20,6 +22,11 @@ }, ], artifactName: "${productName}_${version}.${ext}", + icon: "ldc-intl.png", + publisherName: "LDC Service Web", + }, + linux: { + category: "Utility", }, nsis: { oneClick: false, diff --git a/nuxt.config.ts b/nuxt.config.ts index f61b55e..381f9e0 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -42,11 +42,6 @@ export default defineNuxtConfig({ ], renderer: {}, }, - nitro: { - output: { - publicDir: resolve(__dirname, "./build") - } - }, devtools: { enabled: false }, app: { pageTransition: { name: "page", mode: "out-in" }, diff --git a/package.json b/package.json index 1797728..3090d5e 100755 --- a/package.json +++ b/package.json @@ -10,24 +10,6 @@ "type": "commonjs", "main": "dist-electron/main.js", "licence": "MIT", - "build": { - "appId": "com.ldc.app-kiosk", - "productName": "App Kiosk", - "mac": { - "icon": "ldc-intl.png" - }, - "dmg": {}, - "mas": {}, - "win": { - "icon": "ldc-intl.png", - "publisherName": "LDC Service Web" - }, - "appx": {}, - "portable": {}, - "linux": { - "category": "Utility" - } - }, "files": [ "static/**/*" ],