Compare commits
No commits in common. "8e03212554292675e1f1548bfbf6031e3734c5a0" and "99a2c2fe969526766f87f2c64c4d0f45706dea5e" have entirely different histories.
8e03212554
...
99a2c2fe96
3
main.js
3
main.js
@ -2046,7 +2046,6 @@ ipcMain.handle('export-backup', async () => {
|
|||||||
});
|
});
|
||||||
if (canceled || !filePath) return { ok: false, canceled: true };
|
if (canceled || !filePath) return { ok: false, canceled: true };
|
||||||
const config = configStore.load();
|
const config = configStore.load();
|
||||||
config.history = [];
|
|
||||||
if (filePath.toLowerCase().endsWith('.json')) {
|
if (filePath.toLowerCase().endsWith('.json')) {
|
||||||
fs.writeFileSync(filePath, JSON.stringify(config, null, 2), 'utf-8');
|
fs.writeFileSync(filePath, JSON.stringify(config, null, 2), 'utf-8');
|
||||||
} else {
|
} else {
|
||||||
@ -2127,7 +2126,7 @@ ipcMain.handle('import-backup', async (_event, legacyPassword) => {
|
|||||||
hosters: imported.hosters,
|
hosters: imported.hosters,
|
||||||
hosterSettings: imported.hosterSettings,
|
hosterSettings: imported.hosterSettings,
|
||||||
globalSettings: importedGlobal,
|
globalSettings: importedGlobal,
|
||||||
history: []
|
history: imported.history || []
|
||||||
};
|
};
|
||||||
await configStore._atomicWrite(configStore._serializeForDisk(merged));
|
await configStore._atomicWrite(configStore._serializeForDisk(merged));
|
||||||
return { ok: true, config: configStore.load() };
|
return { ok: true, config: configStore.load() };
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "multi-hoster-uploader",
|
"name": "multi-hoster-uploader",
|
||||||
"version": "3.3.63",
|
"version": "3.3.62",
|
||||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -3109,7 +3109,7 @@ function renderSettings() {
|
|||||||
<span class="panel-status active">System</span>
|
<span class="panel-status active">System</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="hoster-panel-body" data-panel="backup" style="display:none">
|
<div class="hoster-panel-body" data-panel="backup" style="display:none">
|
||||||
<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>
|
<p class="hint" style="margin:0 0 10px">Alle Accounts, Einstellungen und den Upload-Verlauf verschlüsselt exportieren oder importieren.</p>
|
||||||
<div style="display:flex;gap:8px">
|
<div style="display:flex;gap:8px">
|
||||||
<button class="btn btn-secondary" id="exportBackupBtn">Backup exportieren</button>
|
<button class="btn btn-secondary" id="exportBackupBtn">Backup exportieren</button>
|
||||||
<button class="btn btn-secondary" id="importBackupBtn">Backup importieren</button>
|
<button class="btn btn-secondary" id="importBackupBtn">Backup importieren</button>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user