T-032: Tray-Icon (Anzeigen/Beenden), Autostart-Plugin, Einstellungs-Panel (Zahnrad in der Leiste)

This commit is contained in:
2026-11-06 20:38:40 +01:00
parent 06ac4ebd11
commit e7fe398f39
7 changed files with 222 additions and 8 deletions

View File

@ -76,6 +76,8 @@ export const bmRemove = (asin: string, index: number) =>
invoke<Bm[]>('bookmark_remove', { asin, index })
export const bmSetNote = (asin: string, index: number, note: string) =>
invoke<Bm[]>('bookmark_set_note', { asin, index, note })
export const autostartEnabled = () => invoke<boolean>('autostart_enabled')
export const autostartSet = (on: boolean) => invoke<void>('autostart_set', { on })
export function fmtClock(sec: number): string {
const t = Math.max(0, Math.floor(sec))
const h = Math.floor(t / 3600)