Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import {
remote,
ipcRenderer
} from 'electron'
import _ from 'lodash'
import storage from 'electron-json-storage'
import {
Howler
} from 'howler'
Howler.usingWebAudio = false
const {
BrowserWindow,
app
} = remote
const mainWindow = BrowserWindow.getAllWindows()[0]
// Constants
export const constants = {
MINIMIZE: 'MINIMIZE',
MAXIMIZE: 'MAXIMIZE',
CLOSE: 'CLOSE',
FULLSCREEN: 'FULLSCREEN',
ALWAYS_ON_TOP: 'ALWAYS_ON_TOP',
CHECK_FOR_UPDATE: 'CHECK_FOR_UPDATE',
UPDATE_READY: 'UPDATE_READY',