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?
Set your vue.config.js to:
module.exports = {
pluginOptions: {
electronBuilder: {
builderOptions: {
productName: 'App Name'
}
}
}
}
Most helpful comment
Set your vue.config.js to: