launcher: fix no-vsync setting persistence

This commit is contained in:
bordun 2017-07-21 12:12:30 +02:00
parent 429942dd58
commit c72a8a12cc
3 changed files with 9 additions and 10 deletions

View file

@ -8,7 +8,7 @@ dialog.showErrorBox = function(title,err) {
app.commandLine.appendSwitch('--touch-events')
if (settings.read('noVsync')) {
if (settings.read('noVsync') || (!settings.cli && settings.read('argv')['disable-vsync'])) {
app.commandLine.appendSwitch('--disable-gpu-vsync')
}