linux: Don't append --force-device-scale-factor to process.argv
This commit is contained in:
parent
2844d3b358
commit
0d19e772e6
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ process.argv.splice 1, 1
|
|||
# Pick out switches appended by atom-shell.
|
||||
startMark = process.argv.indexOf '--atom-shell-switches-start'
|
||||
endMark = process.argv.indexOf '--atom-shell-switches-end'
|
||||
# And --force-device-scale-factor on Linux.
|
||||
endMark++ if process.platform is 'linux'
|
||||
process.argv.splice startMark, endMark - startMark + 1
|
||||
|
||||
# Add browser/api/lib to require's search paths,
|
||||
|
|
Loading…
Reference in a new issue