Desktop Application Save

Electron-based desktop time tracker for Cattr

Project README

Cattr Desktop App

Electron desktop application for Cattr

Installation

  1. Clone this repository
  2. Install dependencies via npm install
  3. Run webpack via npm run build-watch (or npm run build-development if you don't want to watch files for changes)
  4. When build completes, run npm run dev to launch client in development mode

Development mode

There are two major differences between development and production modes:

  1. Automatical error reporting disabled in development mode.
  2. Development installation uses different keychain service name and application folder path (with "-develop" suffix).

Build

  1. Ensure that all necessary dependencies are installed
  2. Ensure that package.json and src/base/config.js contains right configuration
  3. Build application in production mode via npm run build-production
  4. Build executable for your favourite platform (output directory is /target).

Upload Sentry sourcemaps

  1. Copy .sentry.main.example to .sentry.main, then fill with configuration for Main process project.
  2. Copy .sentry.renderer.example to .sentry.renderer.example, then fill with configuration for Renderer process project.
  3. During release preparation, run npm run build-release to build & submit release files to Sentry.

How to build executable?

  • macOS: npm run package-mac will produce signed & notarized DMG
  • Linux: npm run package-linux will produce Tarball, DPKG and AppImage
  • Windows: npm run package-windows will produce installer and portable executables

Compatibility sheet:

  • Host with macOS: can produce builds only for macOS
  • Host with Linux: can produce builds for Linux and Windows (using Wine)
  • Host with Windows: can produce builds only for Windows
Open Source Agenda is not affiliated with "Desktop Application" Project. README Source: cattr-app/desktop-application
Stars
95
Open Issues
22
Last Commit
4 months ago

Open Source Agenda Badge

Open Source Agenda Rating