--cache-dir & --config-path

This commit is contained in:
bordun 2020-03-15 23:15:31 +01:00
parent 4d16e63ffd
commit 03e1bd1557
4 changed files with 64 additions and 22 deletions

View file

@ -2,6 +2,8 @@ var {app, Menu, shell, BrowserWindow} = require('electron'),
settings = require('./settings'),
infos = require('../package.json')
app.setPath('userData', settings.configPath)
app.commandLine.appendSwitch('--touch-events')
if (settings.read('noVsync') || (!settings.cli && settings.read('argv')['disable-vsync'])) {