Socialify

Folder ..

Viewing index.js
15 lines (13 loc) • 372.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
import Swifty from './application'
import unhandled from 'electron-unhandled'
import { openNewGitHubIssue, debugInfo } from 'electron-util'

unhandled({
  reportButton: error => {
    openNewGitHubIssue({
      user: 'BackSlash-Linux',
      repo: 'password-manager',
      body: `\`\`\`\n${error.stack}\n\`\`\`\n\n---\n\n${debugInfo()}`
    })
  }
})

new Swifty(CONFIG)