bump rev 4.0.5
This commit is contained in:
parent
d169f244f1
commit
8288addcd0
4 changed files with 12 additions and 3 deletions
|
|
@ -43,11 +43,20 @@ function createWindow() {
|
||||||
|
|
||||||
mainWindow.loadURL('http://localhost:5309/kiri');
|
mainWindow.loadURL('http://localhost:5309/kiri');
|
||||||
|
|
||||||
|
// default normal url navigation or page opens to happen outside Electron
|
||||||
mainWindow.webContents.setWindowOpenHandler((details) => {
|
mainWindow.webContents.setWindowOpenHandler((details) => {
|
||||||
|
// console.log('EXTERNAL');
|
||||||
shell.openExternal(details.url);
|
shell.openExternal(details.url);
|
||||||
return { action: 'deny' }
|
return { action: 'deny' }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// prevent "other" urls from opening inside Electron (alerts are problematic)
|
||||||
|
mainWindow.webContents.on('will-navigate', (event, url) => {
|
||||||
|
// console.log('DIVERT');
|
||||||
|
event.preventDefault();
|
||||||
|
shell.openExternal(url);
|
||||||
|
});
|
||||||
|
|
||||||
if (devel) {
|
if (devel) {
|
||||||
console.log("opening developer tools");
|
console.log("opening developer tools");
|
||||||
mainWindow.webContents.openDevTools();
|
mainWindow.webContents.openDevTools();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "grid-apps",
|
"name": "grid-apps",
|
||||||
"version": "4.0.4",
|
"version": "4.0.5",
|
||||||
"description": "grid.space 3d slice & modeling tools",
|
"description": "grid.space 3d slice & modeling tools",
|
||||||
"author": "Stewart Allen <sa@grid.space>",
|
"author": "Stewart Allen <sa@grid.space>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
let terms = {
|
let terms = {
|
||||||
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
|
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
|
||||||
LICENSE: "See the license.md file included with the source distribution",
|
LICENSE: "See the license.md file included with the source distribution",
|
||||||
VERSION: (is_self ? self : this).debug_version || "4.0.4"
|
VERSION: (is_self ? self : this).debug_version || "4.0.5"
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof(module) === 'object') {
|
if (typeof(module) === 'object') {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Kiri:Moto 4.0.4",
|
"name": "Kiri:Moto 4.0.5",
|
||||||
"short_name": "Kiri:Moto",
|
"short_name": "Kiri:Moto",
|
||||||
"description": "Slicer for 3D printers, CNC mills, laser cutters and more",
|
"description": "Slicer for 3D printers, CNC mills, laser cutters and more",
|
||||||
"start_url": "/kiri/",
|
"start_url": "/kiri/",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue