package: update to electron 32
- ships with node 20 - supports macos >= catalina (dropped in v33) - supports standard css scrollbar styling (previous versions that do have an annoying menu color bug)
This commit is contained in:
parent
4b7c11c301
commit
de9b5db120
4 changed files with 5 additions and 2 deletions
|
|
@ -21,6 +21,7 @@
|
|||
- breaking change
|
||||
- dropped support for iOS 10.3
|
||||
- scrollbars are no longer emulated iOS; in general now only the scrollbar color and width are set (using the standard css scrollbar-* properties) to be more in line with system scrollbars in general
|
||||
- macOS Catalina or abov is now required (the node package will work on older system)
|
||||
|
||||
## 1.29.8
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
"@babel/core": "7.18.0",
|
||||
"@babel/preset-env": "7.18.0",
|
||||
"@electron/packager": "18.4.4",
|
||||
"@electron/remote": "2.0.8",
|
||||
"@electron/remote": "2.1.3",
|
||||
"@rollup/plugin-babel": "^6.0.4",
|
||||
"@rollup/plugin-commonjs": "^28.0.6",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"yargs": "17.5.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"electron": "15.1.0",
|
||||
"electron": "32.3.3",
|
||||
"electron-installer-debian": "3.1.0",
|
||||
"electron-installer-redhat": "3.4.0"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export default function(options={}) {
|
|||
backgroundColor: options.color,
|
||||
type: options.type,
|
||||
useContentSize: true,
|
||||
darkTheme: true,
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
nodeIntegration: !!options.node,
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ function openClient() {
|
|||
var win = window({
|
||||
address:address,
|
||||
shortcuts:true,
|
||||
color:'#151a24',
|
||||
fullscreen: settings.read('fullscreen'),
|
||||
noFocus: settings.read('client-options') && settings.read('client-options').some(x=>x.match(/nofocus=1/i)),
|
||||
id: 'client'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue