Fix external URL opening even if the protocol is not http or https

This commit is contained in:
Agampreet Singh
2024-08-20 01:13:53 +05:30
parent 360c874e5d
commit 8c6aa9f5fa

View File

@@ -176,7 +176,6 @@ app.on("web-contents-created", (event, contents) => {
return { action: "deny" };
}
} else {
shell.openExternal(url);
return { action: "deny" };
}
} else {