package: upate most dependencies
This commit is contained in:
parent
ad78141b11
commit
15361f67b7
6 changed files with 22249 additions and 40 deletions
|
|
@ -4,6 +4,8 @@ var {app, Menu, shell, BrowserWindow} = require('electron'),
|
|||
|
||||
app.setPath('userData', settings.configPath)
|
||||
|
||||
app.commandLine.appendSwitch('--ignore-certificate-errors')
|
||||
|
||||
app.commandLine.appendSwitch('--touch-events')
|
||||
|
||||
if (settings.read('disable-vsync')) {
|
||||
|
|
|
|||
|
|
@ -33,12 +33,6 @@ var argv = yargs(process.argv.slice(firstArgIndex))
|
|||
.strict()
|
||||
.version(infos.version).alias('v','version')
|
||||
|
||||
// litle hack to align long-only-options correctly
|
||||
var h = argv.getUsageInstance().help
|
||||
argv.getUsageInstance().help = ()=>{
|
||||
return h().replace(/^\s{2}--([^\s]*)\s{4}(\s*)/gm, ' --$1$2')
|
||||
}
|
||||
|
||||
argv = argv.argv
|
||||
delete argv._
|
||||
delete argv.$0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue