mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-13 16:46:08 -08:00
feat: add auto update support (#65)
This commit is contained in:
1 parent
105713361e
commit
91a01b86a9
71 files changed
+2368
-188
No files matched your search
@@ -20,7 +20,8 @@ export async function notifyUpdateAvailable(
|
||||
try {
|
||||
await deps.showOsdNotification(message);
|
||||
} catch (error) {
|
||||
deps.log(`Update OSD notification failed: ${(error as Error).message}`);
|
||||
const reason = error instanceof Error ? error.message : String(error);
|
||||
deps.log(`Update OSD notification failed: ${reason}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user