0cc0bb8be1
* feat: add the extension sub-commad to download it * do not put store-ext in the main image * support to fetch the latest image tag * finish the basic feature of extension downloading * add some unit tests * support different image registry * add more unit tests * remove useless files * fix the unit test case * simplify the apt install in the dockerfile * add explanation for the empty methods --------- Co-authored-by: rick <LinuxSuRen@users.noreply.github.com> |
||
---|---|---|
.. | ||
README.md | ||
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