linux support

This commit is contained in:
2021-04-07 12:00:09 +02:00
parent eeae431e79
commit f5741e381d
6 changed files with 33 additions and 23 deletions

View File

@@ -6,13 +6,11 @@ import Settings from './settings'
import Banner from './banner'
import Updater from './updater'
export const DEV = !app.isPackaged
export const DEV = !app.isPackaged && false
// Enforce single instance
const isMain = app.requestSingleInstanceLock()
if (!isMain) {
app.quit()
}
if (!isMain) app.quit()
// Disable gpu
app.disableHardwareAcceleration()