mirror of
https://github.com/hyperspacedev/hyperspace
synced 2025-01-24 06:02:54 +01:00
Remove testing code
This commit is contained in:
parent
98d98f6824
commit
291b587872
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user