release: Multi-Hoster-Upload v2.0.3

This commit is contained in:
Sucukdeluxe
2026-08-09 14:54:44 +02:00
parent 6cdccf71f2
commit 1c4d096cb9
31 changed files with 2304 additions and 131 deletions
+15
View File
@@ -522,6 +522,21 @@ class ConfigStore {
});
}
replaceSettings(config) {
return this._enqueueWrite(() => {
const current = this.load();
const globalSettings = this._clone(config.globalSettings);
globalSettings.pendingQueue = current.globalSettings.pendingQueue ?? null;
return this._commit({
hosters: this._clone(config.hosters),
hosterSettings: this._clone(config.hosterSettings),
globalSettings,
history: this._clone(current.history || []),
rotationCursors: {}
});
});
}
loadHistory() {
if (this._historyMigrated) {
return this._readHistoryFile() || [];