My app after npm run package
looks like Electron React-4.4.0.AppImage
How can I change it to write a new version after every build?
I checked https://electron-react-boilerplate.js.org/docs/packaging
But it didn't work for me unfortunately.
My app after npm run package
looks like Electron React-4.4.0.AppImage
How can I change it to write a new version after every build?
I checked https://electron-react-boilerplate.js.org/docs/packaging
But it didn't work for me unfortunately.
If you mean renaming your aplication name, change content of package.json
{
"name": "electron-react-4.4.0",
"productName": "Electron React-4.4.0",
"description": "Electron React-4.4.0 description ...",
...
}
to
{
"name": "your-app-name",
"productName": "YourAppName",
"description": "Your application description",
...
}
After doing this you must delete node_modules and run npm install
and than, after npm run package
, will our app looks like YourAppName.AppImage
The version used for the package can be change in project/release/app/package.json not in the project/package.json. This has solve problem for me