Cross-platform desktop framework wails modified version number

Unlike the electron framework, which directly modifies package.json, in the wails framework, the fields in wails.json need to be productVersionmodified.

{
    
    
  "$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": "@九段刀客"
  }
}

Guess you like

Origin blog.csdn.net/weixin_35958891/article/details/133158074