Code Monkey home page Code Monkey logo

electron's Introduction

electron-quick-start

Setup

  1. npm install
  2. Place your DSN Key in sentry.js
init({
  // TODO: Replace with your project's DSN
  dsn: 'SENTRY_DSN',
});
  1. Upload the Debug Information Files The download and upload take a few minutes.
npm install -g @sentry/wizard

# Optional, if the following command (sentry-wizard) errors then perform this
npm install --save-dev @sentry/cli electron-download

# dynamically creates the sentry.properties file and sentry-symbols.js, for Download/Upload of symbols
sentry-wizard --integration electron

# Downloads the Electron Symbols (from Electron Github)
# Uploads your Electron Symbols (i.e. Debug Information Files) to Sentry.io.
node sentry-symbols.js
  1. Check that your Debug Info Files were uploaded
    Sentry.io > Project Settings > Debug Files
  2. (For Electron JavaScript Offline Events) - in main.js you'll need up update:
SENTRY_KEY
PROJECT_ID
AUTH_TOKEN

Run

  1. npm start

Docs

Electron Basics

  • package.json - Points to the app's main file and lists its details and dependencies.
  • main.js - Starts the app and creates a browser window to render HTML. This is the app's main process.
  • index.html - A web page to render. This is the app's renderer process. This is a minimal Electron application based on the Quick Start Guide within the Electron documentation. You can learn more about each of these components within the Quick Start Guide.

GIF Electron Native Crash

gif

GIF Electron Javascript

gif

GIF Electron Javascript Offline Events

gif

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.