Compare commits
No commits in common. "af48a485e8a3c3cfc47c2dadab4063cc005da8f2" and "55eee8a42e24283e635b550eb68f44fbf6c7fb4b" have entirely different histories.
af48a485e8
...
55eee8a42e
@ -168,10 +168,7 @@ class VoeUploader {
|
||||
}
|
||||
});
|
||||
const body = await res.text();
|
||||
let data;
|
||||
try { data = JSON.parse(body); } catch {
|
||||
throw new Error(`VOE: Upload-Server Antwort war kein JSON: ${body.slice(0, 200)}`);
|
||||
}
|
||||
const data = JSON.parse(body);
|
||||
|
||||
if (!data || !data.success || !data.server) {
|
||||
throw new Error('VOE: Kein Upload-Server erhalten von delivery-node');
|
||||
|
||||
10
main.js
10
main.js
@ -716,9 +716,7 @@ ipcMain.handle('start-upload', (_event, payload) => {
|
||||
|
||||
uploadManager.on('batch-done', async (summary) => {
|
||||
debugLog(`batch-done: total=${summary.total} ok=${summary.succeeded} fail=${summary.failed}`);
|
||||
try { await configStore.appendHistory(summary); } catch (err) {
|
||||
debugLog(`appendHistory failed: ${err.message}`);
|
||||
}
|
||||
await configStore.appendHistory(summary);
|
||||
if (mainWindow && !mainWindow.isDestroyed()) {
|
||||
mainWindow.webContents.send('upload-batch-done', summary);
|
||||
}
|
||||
@ -1058,10 +1056,8 @@ ipcMain.on('remote:input-event', (_event, data) => {
|
||||
const capturedH = winBounds.height - dwm; // only bottom has invisible border
|
||||
const contentOffsetX = contentBounds.x - (winBounds.x + dwm);
|
||||
const contentOffsetY = contentBounds.y - winBounds.y;
|
||||
const rawX = typeof data.x === 'number' && isFinite(data.x) ? data.x : 0;
|
||||
const rawY = typeof data.y === 'number' && isFinite(data.y) ? data.y : 0;
|
||||
const x = Math.round(rawX * capturedW - contentOffsetX);
|
||||
const y = Math.round(rawY * capturedH - contentOffsetY);
|
||||
const x = Math.round((data.x || 0) * capturedW - contentOffsetX);
|
||||
const y = Math.round((data.y || 0) * capturedH - contentOffsetY);
|
||||
|
||||
switch (data.type) {
|
||||
case 'mousemove':
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "multi-hoster-uploader",
|
||||
"version": "2.2.7",
|
||||
"version": "2.2.6",
|
||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user