add dev rules

This commit is contained in:
olcxja 2026-09-30 19:16:52 +02:00
commit 944d8f86c2
9 changed files with 112 additions and 27 deletions

View file

@ -87,8 +87,7 @@ autoQuitWhenDone = headless // booting just to run one game -> exit when it ends
// Lives as long as the app does: shows "active in background" even when the
// window is closed, and offers running games + Quit.
function trayIconPath() {
const png = path.resolve(__dirname, '..', 'renderer', 'plwl.png')
return fs.existsSync(png) ? png : undefined
return require('./paths').launcherIconPath() || undefined
}
function createTray() {