change electron hide/show elements

bump rev 4.7.0
This commit is contained in:
Stewart Allen 2026-02-26 13:19:34 -05:00
commit c7a205fb25
7 changed files with 17 additions and 16 deletions

View file

@ -78,12 +78,15 @@ function createWindow() {
if (url.endsWith('/mesh') || url.endsWith('/mesh/')) {
return;
}
if (url.endsWith('/void') || url.endsWith('/void/')) {
return;
}
event.preventDefault();
shell.openExternal(url);
});
webContents.on('did-finish-load', () => {
mainWindow.webContents.executeJavaScript(`{ let x = document.getElementById('app-quit'); if (x) { x.onclick = () => window.close() } }; null;`);
// console.log('did finish load');
});
if (devel) {