Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix(windows): re-enable GPU compositing and fix installer DPI scaling

Gabriel Stein31e949aa0d89
diff --git a/main.js b/main.js
index 3ece1cb53..e156a79fb 100644
--- a/main.js
+++ b/main.js
@@ -96,10 +96,6 @@ if (process.platform === "linux") {
app.commandLine.appendSwitch("disable-gpu-compositing");
}
-if (process.platform === "win32") {
- app.commandLine.appendSwitch("disable-gpu-compositing");
-}
-
// Wayland: packaged builds use the wrapper script (scripts/afterPack.js) to
// force --ozone-platform=x11 before Electron starts. appendSwitch below is a
// best-effort fallback for unpackaged dev mode (may not take effect on E39+).
diff --git a/resources/nsis/cleanup-models.nsh b/resources/nsis/cleanup-models.nsh
index 90231e5e5..5d31a94f1 100644
--- a/resources/nsis/cleanup-models.nsh
+++ b/resources/nsis/cleanup-models.nsh
@@ -1,3 +1,7 @@
+!macro customInit
+ ManifestDPIAware true
+!macroend
+
!macro customUnInstall
${ifNot} ${isUpdated}
StrCpy $0 "$PROFILE\.cache\openwhispr\models"