release: Multi-Hoster-Upload 2.1.7

This commit is contained in:
Sucukdeluxe
2026-08-11 16:10:14 +02:00
parent f6b20a8bc8
commit 622460d844
28 changed files with 2368 additions and 80 deletions
+4 -1
View File
@@ -76,6 +76,7 @@ const DEFAULTS = {
scaleParallelUploads: false,
lastBrowseDirectory: '',
removeFromQueueOnDone: false,
deleteSourceAfterSuccessfulUpload: false,
showDropTarget: false,
globalMaxSpeedKbs: 0, // 0 = unlimited global speed
pendingQueue: null,
@@ -689,7 +690,9 @@ class ConfigStore {
if (this._historyMigrated) {
return this._enqueueHistoryWrite(() => {
const cur = this._readHistoryFile();
if (cur === null && fs.existsSync(this.historyPath)) return;
if (cur === null && fs.existsSync(this.historyPath)) {
throw new Error('Die Verlaufsdatei ist beschädigt und wurde nicht verändert');
}
const arr = cur || [];
arr.push(entry);
const gs = this.load().globalSettings;