Fix external URL opening even if the protocol is not http or https
This commit is contained in:
@@ -176,7 +176,6 @@ app.on("web-contents-created", (event, contents) => {
|
||||
return { action: "deny" };
|
||||
}
|
||||
} else {
|
||||
shell.openExternal(url);
|
||||
return { action: "deny" };
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user