From 83621cec9e5250b289763cfddc069116ec93e308 Mon Sep 17 00:00:00 2001 From: Paul Seelman Date: Tue, 18 Aug 2020 00:18:38 -0700 Subject: [PATCH] Fix DPI scaling --- src/node/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/node/index.js b/src/node/index.js index baafad5..9e088c6 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -377,6 +377,9 @@ async function main() { } if (require.main === module) { + app.commandLine.appendSwitch('high-dpi-support', 1) + app.commandLine.appendSwitch('force-device-scale-factor', 1) + app .whenReady() .then(main)