![]() * feat: add metrics support to mock server * add unit tests * fix the unit testing --------- Co-authored-by: rick <LinuxSuRen@users.noreply.github.com> |
||
---|---|---|
.. | ||
README.md | ||
api-testing.icns | ||
api-testing.ico | ||
api-testing.png | ||
api.js | ||
api.test.js | ||
forge.config.js | ||
index.html | ||
main.js | ||
package-lock.json | ||
package.json | ||
preload.js |
README.md
npx electron-forge import
npm config set registry https://registry.npmmirror.com
Package
npm run package -- --platform=darwin
npm run package -- --platform=win32
npm run package -- --platform=linux
For Linux
You need to install tools if you want to package Windows on Linux:
apt install wine64 zip -y
For Windows
dotnet tool install --global wix
Publish
export GITHUB_TOKEN=your-token
npm run publish -- --platform=darwin
npm run publish -- --platform=linux