style: auto-fix linting issues

This commit is contained in:
JulienMaille 2026-02-12 17:20:48 +00:00 committed by github-actions[bot]
parent ec33a63b4d
commit 41a8a75cb0

View file

@ -45,15 +45,19 @@
menuItems: [
{ id: 'show', text: 'Show Monochrome' },
{ id: 'sep', text: '-' },
{ id: 'quit', text: 'Quit' }
]
{ id: 'quit', text: 'Quit' },
],
};
try {
await Neutralino.os.setTray(tray);
console.log('[Shell] Tray set successfully');
} catch(e) {
} catch (e) {
console.error('[Shell] Tray error:', e);
await Neutralino.os.showMessageBox('Tray Error', `Failed to set tray: ${JSON.stringify(e)}`, 'ERROR');
await Neutralino.os.showMessageBox(
'Tray Error',
`Failed to set tray: ${JSON.stringify(e)}`,
'ERROR'
);
}
};
@ -71,7 +75,6 @@
break;
}
});
} catch (e) {
console.error('[Shell] Failed to init Neutralino:', e);
}