Unlike the electron framework, which directly modifies package.json, in the wails framework, the fields in wails.json need to be productVersion
modified.
{
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "focus-target",
"outputfilename": "focus-target",
"frontend:install": "npm install",
"frontend:build": "npm run build",
"frontend:dev:watcher": "npm run dev",
"frontend:dev:serverUrl": "auto",
"author": {
"name": "xxx",
"email": "[email protected]"
},
"info": {
"productName": "focus-target",
"productVersion": "1.1.4",
"copyright": "@九段刀客"
}
}