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