mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-29 04:05:37 +08:00
linux: Don't append --force-device-scale-factor to process.argv
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user