--cache-dir & --config-path
This commit is contained in:
parent
4d16e63ffd
commit
03e1bd1557
4 changed files with 64 additions and 22 deletions
|
|
@ -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'])) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue