Allow steam:// protocol links

pull/1440/head
tobspr 2 years ago
parent f9fa3cd6a7
commit 918dd5dc25

@ -155,7 +155,7 @@ function createWindow() {
win.webContents.on("new-window", (event, pth) => {
event.preventDefault();
if (pth.startsWith("https://")) {
if (pth.startsWith("https://") || pth.startsWith("steam://")) {
shell.openExternal(pth);
}
});

Loading…
Cancel
Save