Potential fix for display scaling issue

This commit is contained in:
Max Goodhart
2020-08-13 11:47:12 -07:00
parent 0beded8593
commit c09a31b31d

View File

@@ -377,6 +377,9 @@ async function main() {
} }
if (require.main === module) { if (require.main === module) {
app.commandLine.appendSwitch('high-dpi-support', 1)
app.commandLine.appendSwitch('force-device-scale-factor', 1)
app app
.whenReady() .whenReady()
.then(main) .then(main)