diff --git a/buildAssets/builder/config.js b/buildAssets/builder/config.js index b0ca3a15..6b425ae3 100644 --- a/buildAssets/builder/config.js +++ b/buildAssets/builder/config.js @@ -1,9 +1,10 @@ /* eslint-disable no-template-curly-in-string */ const dotenv = require('dotenv') +const packageJson = require('../../package.json') const baseConfig = { - productName: 'Vutron', - appId: 'com.vutron.vutron', + productName: packageJson.name, + appId: packageJson.appId, asar: true, extends: null, compression: 'maximum', @@ -69,7 +70,7 @@ const baseConfig = { oneClick: true }, linux: { - executableName: 'vutron', + executableName: packageJson.name.toLowerCase(), icon: 'buildAssets/icons', category: 'Utility', target: [ diff --git a/package.json b/package.json index 90632507..c69c85a8 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "vutron", + "appId": "com.vutron.vutron", "version": "1.0.0", "description": "Quick Start Templates for Vite + Vue 3 + Electron", "homepage": "https://vutron.jooy2.com",