Electron desktop application for Cattr
npm install
npm run build-watch
(or npm run build-development
if you don't want to watch files for changes)npm run dev
to launch client in development modeThere are two major differences between development and production modes:
package.json
and src/base/config.js
contains right configurationnpm run build-production
.sentry.main.example
to .sentry.main
, then fill with configuration for Main process project..sentry.renderer.example
to .sentry.renderer.example
, then fill with configuration for Renderer process project.npm run build-release
to build & submit release files to Sentry.How to build executable?
npm run package-mac
will produce signed & notarized DMGnpm run package-linux
will produce Tarball, DPKG and AppImagenpm run package-windows
will produce installer and portable executablesCompatibility sheet: