From 291b587872a1be057df740ba4ede24c04c412186 Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 22 May 2019 18:53:50 -0400 Subject: [PATCH] Remove testing code --- public/electron.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/electron.js b/public/electron.js index 7026b67..01e6fd9 100644 --- a/public/electron.js +++ b/public/electron.js @@ -69,10 +69,6 @@ function registerProtocol() { if (target[target.length -1] === "") { target[target.length -1] = "index.html"; } - - if (target[0] === "#") { - target[0] = "app"; - } // Check the middle target and redirect to the appropriate // build files of the desktop app when running. @@ -168,10 +164,6 @@ function createWindow() { event.preventDefault(); shell.openExternal(url); }); - - mainWindow.webContents.on('will-navigate', (event, url) => { - console.log(url) - }) } /**