Skip to content

mbauer404/electron

 
 

Repository files navigation

electron-quick-start

Setup

  1. npm install
  2. Place your DSN Key in index.html
    <script>
      Sentry.init({ dsn: '<dsn_key>' })
    </script>
  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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.9%
  • HTML 32.1%
  • CSS 12.0%