1
0
mirror of https://github.com/hyperspacedev/hyperspace synced 2025-01-24 14:11:36 +01:00

Remove testing code

This commit is contained in:
Marquis Kurt 2019-05-22 18:53:50 -04:00
parent 98d98f6824
commit 291b587872

View File

@ -69,10 +69,6 @@ function registerProtocol() {
if (target[target.length -1] === "") { if (target[target.length -1] === "") {
target[target.length -1] = "index.html"; target[target.length -1] = "index.html";
} }
if (target[0] === "#") {
target[0] = "app";
}
// Check the middle target and redirect to the appropriate // Check the middle target and redirect to the appropriate
// build files of the desktop app when running. // build files of the desktop app when running.
@ -168,10 +164,6 @@ function createWindow() {
event.preventDefault(); event.preventDefault();
shell.openExternal(url); shell.openExternal(url);
}); });
mainWindow.webContents.on('will-navigate', (event, url) => {
console.log(url)
})
} }
/** /**