Compare commits

..

2 Commits

Author SHA1 Message Date
Administrator
8e03212554 release: v3.3.63 2026-06-10 15:42:37 +02:00
Administrator
e69635bcf7 fix(backup): exclude upload history from export and import — Verlauf stays local 2026-06-10 15:42:09 +02:00
3 changed files with 4 additions and 3 deletions

View File

@ -2046,6 +2046,7 @@ ipcMain.handle('export-backup', async () => {
});
if (canceled || !filePath) return { ok: false, canceled: true };
const config = configStore.load();
config.history = [];
if (filePath.toLowerCase().endsWith('.json')) {
fs.writeFileSync(filePath, JSON.stringify(config, null, 2), 'utf-8');
} else {
@ -2126,7 +2127,7 @@ ipcMain.handle('import-backup', async (_event, legacyPassword) => {
hosters: imported.hosters,
hosterSettings: imported.hosterSettings,
globalSettings: importedGlobal,
history: imported.history || []
history: []
};
await configStore._atomicWrite(configStore._serializeForDisk(merged));
return { ok: true, config: configStore.load() };

View File

@ -1,6 +1,6 @@
{
"name": "multi-hoster-uploader",
"version": "3.3.62",
"version": "3.3.63",
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
"main": "main.js",
"scripts": {

View File

@ -3109,7 +3109,7 @@ function renderSettings() {
<span class="panel-status active">System</span>
</div>
<div class="hoster-panel-body" data-panel="backup" style="display:none">
<p class="hint" style="margin:0 0 10px">Alle Accounts, Einstellungen und den Upload-Verlauf verschlüsselt exportieren oder importieren.</p>
<p class="hint" style="margin:0 0 10px">Alle Accounts und Einstellungen exportieren oder importieren. Der Upload-Verlauf bleibt lokal und wird nicht übertragen; nach einem Import ist der Verlauf-Tab leer.</p>
<div style="display:flex;gap:8px">
<button class="btn btn-secondary" id="exportBackupBtn">Backup exportieren</button>
<button class="btn btn-secondary" id="importBackupBtn">Backup importieren</button>