Restore update checks and startup notifications
Build and Release / build (push) Has been cancelled

This commit is contained in:
Sucukdeluxe
2026-02-27 04:22:00 +01:00
parent c7813c26a8
commit 02370a40b4
11 changed files with 117 additions and 7 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
import type { AddLinksPayload, AppSettings, UiSnapshot } from "./types";
import type { AddLinksPayload, AppSettings, UiSnapshot, UpdateCheckResult } from "./types";
export interface ElectronApi {
getSnapshot: () => Promise<UiSnapshot>;
getVersion: () => Promise<string>;
checkUpdates: () => Promise<UpdateCheckResult>;
updateSettings: (settings: Partial<AppSettings>) => Promise<AppSettings>;
addLinks: (payload: AddLinksPayload) => Promise<{ addedPackages: number; addedLinks: number; invalidCount: number }>;
addContainers: (filePaths: string[]) => Promise<{ addedPackages: number; addedLinks: number }>;