Socialify

Folder ..

Viewing index.js
16 lines (13 loc) • 324.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
import { shell } from 'electron'
import './messages'
import './remote'
import './clipboard'
import './generator'
import './cryptor'

window.isSpectron = () => {
  return process.env.RUNNING_IN_SPECTRON
}

window.openLink = url => {
  shell.openExternal(url)
}

window.document.addEventListener('DOMContentLoaded', () => {})