Harden resume flows and ship v1.1.23 stability fixes
Build and Release / build (push) Has been cancelled

This commit is contained in:
Sucukdeluxe
2026-02-27 11:04:52 +01:00
parent 583d74fcc9
commit 6d777e2a56
15 changed files with 1790 additions and 236 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ import { DownloadManager } from "./download-manager";
import { parseCollectorInput } from "./link-parser";
import { configureLogger, logger } from "./logger";
import { MegaWebFallback } from "./mega-web-fallback";
import { createStoragePaths, emptySession, loadSession, loadSettings, saveSettings } from "./storage";
import { createStoragePaths, loadSession, loadSettings, normalizeSettings, saveSettings } from "./storage";
import { checkGitHubUpdate, installLatestUpdate } from "./update";
export class AppController {
@@ -69,11 +69,11 @@ export class AppController {
}
public updateSettings(partial: Partial<AppSettings>): AppSettings {
this.settings = {
this.settings = normalizeSettings({
...defaultSettings(),
...this.settings,
...partial
};
});
saveSettings(this.storagePaths, this.settings);
this.manager.setSettings(this.settings);
return this.settings;