Update electron to version 8.0.1
This commit is contained in:
parent
30baa7bb0b
commit
7fc4ddcde1
@ -24,7 +24,7 @@
|
||||
"single-instance": "^0.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^6.0.10",
|
||||
"electron": "^8.0.1",
|
||||
"electron-builder": "^21.2.0"
|
||||
},
|
||||
"build": {
|
||||
|
@ -439,7 +439,7 @@ function updateNavigation() {
|
||||
function updateWindowTitle() {
|
||||
if (selectedService === null) {
|
||||
ipcRenderer.send('updateWindowTitle', null);
|
||||
} else if(services[selectedService].viewReady) {
|
||||
} else if (services[selectedService].viewReady) {
|
||||
ipcRenderer.send('updateWindowTitle', selectedService, services[selectedService].view.getWebContents().getTitle());
|
||||
}
|
||||
}
|
||||
@ -452,4 +452,4 @@ function goForward() {
|
||||
function goBack() {
|
||||
let view = services[selectedService].view;
|
||||
if (view) view.getWebContents().goBack();
|
||||
}
|
||||
}
|
||||
|
@ -34,17 +34,20 @@ body {
|
||||
|
||||
background-color: rgb(43, 43, 43);
|
||||
}
|
||||
|
||||
#service-selector .drag-target button::after {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#service-last-drag-position:not(.hidden):not(.drag-target) {
|
||||
display: block;
|
||||
padding: 16px 4px;
|
||||
background-color: #fff5;
|
||||
}
|
||||
|
||||
#service-last-drag-position:not(.drag-target)::after {
|
||||
content: "";
|
||||
display: block;
|
||||
@ -193,4 +196,4 @@ body {
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
|
@ -215,4 +215,4 @@ function listIcons(set) {
|
||||
}
|
||||
|
||||
console.log('Starting app');
|
||||
app.on('ready', createWindow);
|
||||
app.on('ready', createWindow);
|
||||
|
Loading…
Reference in New Issue
Block a user