aboutsummaryrefslogtreecommitdiff
path: root/src/patcher.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/patcher.ts')
-rw-r--r--src/patcher.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/patcher.ts b/src/patcher.ts
index d51405d..9752a04 100644
--- a/src/patcher.ts
+++ b/src/patcher.ts
@@ -79,7 +79,10 @@ if (!process.argv.includes("--vanilla")) {
options.webPreferences.sandbox = false;
if (settings.frameless) {
options.frame = false;
+ } else if (process.platform === "win32" && settings.winNativeTitleBar) {
+ delete options.frame;
}
+
if (settings.transparent) {
options.transparent = true;
options.backgroundColor = "#00000000";