Giter Club home page Giter Club logo

desktop-application's Introduction

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

desktop-application's People

Contributors

amazing-cat avatar andreivechni avatar drdlx avatar imcatwhocode avatar vermorag avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.