1
0
mirror of https://github.com/hyperspacedev/hyperspace synced 2025-01-24 22:18:00 +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

@ -70,10 +70,6 @@ function registerProtocol() {
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.
let baseDirectory; let baseDirectory;
@ -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)
})
} }
/** /**