feat(notifications): add settings and migration

This commit is contained in:
Sucukdeluxe
2026-08-22 03:44:11 +02:00
parent 6a8a3828b8
commit 754231d15c
9 changed files with 140 additions and 18 deletions
+7
View File
@@ -220,6 +220,13 @@ export function createRendererSettings(settings: AppSettings): RendererSettings
notifyOnPackageCompleted: settings.notifyOnPackageCompleted,
notifyOnPackageFailed: settings.notifyOnPackageFailed,
notifyOnRunFinished: settings.notifyOnRunFinished,
notifyPackageSuccessMode: settings.notifyPackageSuccessMode,
notifyOnRemainingBelow: settings.notifyOnRemainingBelow,
notifyRemainingThresholdGb: settings.notifyRemainingThresholdGb,
notifyOnDownloadStall: settings.notifyOnDownloadStall,
notifyStallAfterSeconds: settings.notifyStallAfterSeconds,
notifyStallCooldownMinutes: settings.notifyStallCooldownMinutes,
notifyOnDownloadRecovery: settings.notifyOnDownloadRecovery,
totalDownloadedAllTime: settings.totalDownloadedAllTime,
totalCompletedFilesAllTime: settings.totalCompletedFilesAllTime,
totalRuntimeAllTimeMs: settings.totalRuntimeAllTimeMs,