diff --git a/README.md b/README.md index 4be6255..1fcb94f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Multi-Hoster-Upload +# Multi Hoster Uploader -Multi-Hoster-Upload is a Windows desktop application for sending file batches to several supported video hosts from one queue. Add files or folders, choose one or more destinations, manage multiple accounts, and follow every upload from preparation to its final link. +Multi Hoster Uploader is a Windows desktop application for sending file batches to several supported video hosts from one queue. Add files or folders, choose one or more destinations, manage multiple accounts, and follow every upload from preparation to its final link. -![Multi-Hoster-Upload product overview](assets/product-overview.png) +![Multi Hoster Uploader product overview](assets/product-overview.png) ## Download diff --git a/lib/support-bundle.js b/lib/support-bundle.js index c1f0898..10a3394 100644 --- a/lib/support-bundle.js +++ b/lib/support-bundle.js @@ -201,7 +201,7 @@ function collectFile(filePath, label, maxBytes, options) { function buildSupportBundleText({ header, sanitizedConfig, files, secrets }) { const parts = []; - parts.push('=== Multi-Hoster-Upload Support Bundle ===\n'); + parts.push('=== Multi Hoster Uploader Support Bundle ===\n'); if (header && typeof header === 'object') { for (const [k, v] of Object.entries(header)) parts.push(`${k}: ${v}\n`); } diff --git a/lib/updater.js b/lib/updater.js index f540b4a..59be8ee 100644 --- a/lib/updater.js +++ b/lib/updater.js @@ -98,7 +98,7 @@ async function fetchGithubReleaseNotes(remoteVersion, fallback = '', fetchImpl = headers: { Accept: 'application/vnd.github+json', 'X-GitHub-Api-Version': '2022-11-28', - 'User-Agent': 'Multi-Hoster-Upload' + 'User-Agent': 'Multi-Hoster-Uploader' } }); if (!response.ok) return String(fallback || ''); diff --git a/lib/webhook-notify.js b/lib/webhook-notify.js index 315b6b6..ca28970 100644 --- a/lib/webhook-notify.js +++ b/lib/webhook-notify.js @@ -78,7 +78,7 @@ function buildWebhookRequest(url, summary, meta) { .join(' · '); if (hosterEntries.length > MAX_HOSTER_LINES) hosterLines += ` · …+${hosterEntries.length - MAX_HOSTER_LINES}`; const lines = [ - `**Multi-Hoster-Upload — ${headline}**${m.machineName ? ` (${m.machineName})` : ''}`, + `**Multi Hoster Uploader — ${headline}**${m.machineName ? ` (${m.machineName})` : ''}`, language === 'de' ? `✅ ${succeeded} ok · ❌ ${failed} Fehler${skipped > 0 ? ` · ⏭ ${skipped} übersprungen` : ''} · 📦 ${total} gesamt · ⏱ ${duration}` : `✅ ${succeeded} succeeded · ❌ ${failed} failed${skipped > 0 ? ` · ⏭ ${skipped} skipped` : ''} · 📦 ${total} total · ⏱ ${duration}` @@ -92,7 +92,7 @@ function buildWebhookRequest(url, summary, meta) { } else { body = JSON.stringify({ event: 'batch-done', - app: 'multi-hoster-upload', + app: 'multi-hoster-uploader', version: m.appVersion || null, machine: m.machineName || null, total, diff --git a/tests/support-bundle.test.js b/tests/support-bundle.test.js index 3713be6..a065794 100644 --- a/tests/support-bundle.test.js +++ b/tests/support-bundle.test.js @@ -239,7 +239,7 @@ test('buildSupportBundleText produces structured output with header + config + f sanitizedConfig: { hosters: { 'voe.sx': [{ apiKey: '' }] } }, files: [{ label: 'debug.log', path: tmp }] }); - assert.match(text, /^=== Multi-Hoster-Upload Support Bundle ===/); + assert.match(text, /^=== Multi Hoster Uploader Support Bundle ===/); assert.match(text, /Version: 3\.3\.41/); assert.match(text, /Platform: win32/); assert.match(text, /=== Config \(sanitized/); @@ -253,7 +253,7 @@ test('buildSupportBundleText produces structured output with header + config + f test('buildSupportBundleText handles empty file list and missing header', () => { const text = buildSupportBundleText({ sanitizedConfig: {}, files: [] }); - assert.match(text, /=== Multi-Hoster-Upload Support Bundle ===/); + assert.match(text, /=== Multi Hoster Uploader Support Bundle ===/); assert.match(text, /=== Config/); });