fix(desktop): better notification icon

This commit is contained in:
Adam 2025-12-30 15:07:36 -06:00
commit 48f2419d9d
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75

View file

@ -107,7 +107,10 @@ const platform: Platform = {
await Promise.resolve()
.then(() => {
const notification = new Notification(title, { body: description ?? "" })
const notification = new Notification(title, {
body: description ?? "",
icon: "https://opencode.ai/favicon-96x96.png",
})
notification.onclick = () => {
const win = getCurrentWindow()
void win.show().catch(() => undefined)