From 918dd5dc251d37df3b6b0e989b2c123127beca4f Mon Sep 17 00:00:00 2001 From: tobspr Date: Wed, 15 Jun 2022 12:28:14 +0200 Subject: [PATCH] Allow steam:// protocol links --- electron/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/index.js b/electron/index.js index abfd7ede..31b4bca2 100644 --- a/electron/index.js +++ b/electron/index.js @@ -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); } });