Vue-cli-plugin-electron-builder: How to set custom app name

Created on 21 Jul 2019  路  1Comment  路  Source: nklayman/vue-cli-plugin-electron-builder

It seems the app name in the windows desktop was taken from the name of the package.json file. I'd like to change the app name to "App Name", by doing that, the package.json file will be invalid.

How to set the custom app name?

Most helpful comment

Set your vue.config.js to:

module.exports = {
  pluginOptions: {
    electronBuilder: {
      builderOptions: {
        productName: 'App Name'
      }
    }
  }
}

>All comments

Set your vue.config.js to:

module.exports = {
  pluginOptions: {
    electronBuilder: {
      builderOptions: {
        productName: 'App Name'
      }
    }
  }
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

sanch941 picture sanch941  路  6Comments

fridzema picture fridzema  路  4Comments

devlerone picture devlerone  路  4Comments

mrin9 picture mrin9  路  6Comments

getflourish picture getflourish  路  5Comments