Compare commits

...

2 Commits

Author SHA1 Message Date
Administrator
1a07b2d712 release: v2.4.0 2026-03-22 10:49:14 +01:00
Administrator
4761d6406c 🐛 fix: await clearHistory() to ensure write completes before response
clearHistory() was the only configStore write call not awaited in its
IPC handler. The renderer received 'success' before the file write
completed — closing the app immediately after could leave history intact.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 10:48:46 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -776,8 +776,8 @@ ipcMain.handle('finish-after-active', () => {
return true;
});
ipcMain.handle('clear-history', () => {
configStore.clearHistory();
ipcMain.handle('clear-history', async () => {
await configStore.clearHistory();
return true;
});

View File

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