cattr-app / desktop-application

Electron-based desktop time tracker for Cattr
Other
103 stars 38 forks source link
cattr desktop efficiency linux macos management time-tracker windows

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?

Compatibility sheet: