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:
jean-emmanuel 2025-09-19 09:47:47 +02:00
parent 4b7c11c301
commit de9b5db120
4 changed files with 5 additions and 2 deletions

View file

@ -14,6 +14,7 @@ export default function(options={}) {
backgroundColor: options.color,
type: options.type,
useContentSize: true,
darkTheme: true,
autoHideMenuBar: true,
webPreferences: {
nodeIntegration: !!options.node,

View file

@ -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'