npm installnpm run electron:servenpm run build:osx
npm run build:win
npm run build:linux
npm run build:allIf you see an error like:
Error: error:0308010C:digital envelope routines::unsupported
This happens with Node.js >= 17 using OpenSSL 3 and webpack 4 (used by vue-cli-plugin-electron-builder).
Switch to Node 16 LTS for development/builds (e.g., with nvm).
# Increment the version number in package.json first
# Note that the version tag needs to start with `v` in order for CI to trigger a new build
git commit -am "<VERSION_NUMBER>"
git tag <VERSION_NUMBER>
git push
git push --tags
# Github will trigger a build. A draft release will be created for reviewnpm run lint- Install electron-icon-builder globally
- Replace the icon in
./src/assets/images/icon/icon.png(must be at least 1024x1024) - Generate icon variants via the command line:
electron-icon-builder --input=src/assets/images/icon/icon.png --output=build/icons --flatten
- The new icon will be used once a new build is triggered