A free, open source, and extensible speech-to-text application that works completely offline.
fix: link portable update dialog to the correct installer (#1750) (#1753)
Shehab Tarek76736d5ac7bd
diff --git a/src/components/update-checker/UpdateChecker.tsx b/src/components/update-checker/UpdateChecker.tsxindex a104ebf4..aea87bf6 100644--- a/src/components/update-checker/UpdateChecker.tsx+++ b/src/components/update-checker/UpdateChecker.tsx@@ -4,9 +4,14 @@ import { check } from "@tauri-apps/plugin-updater";import { relaunch } from "@tauri-apps/plugin-process";import { listen } from "@tauri-apps/api/event";import { openUrl } from "@tauri-apps/plugin-opener";+import { arch, platform } from "@tauri-apps/plugin-os";import { ProgressBar } from "../shared";import { useSettings } from "../../hooks/useSettings";import { commands } from "../../bindings";+import {+ resolvePortableInstallerUrl,+ PORTABLE_RELEASES_URL,+} from "./portableInstaller";interface UpdateCheckerProps {className?: string;@@ -22,6 +27,9 @@ const UpdateChecker: React.FC<UpdateCheckerProps> = ({ className = "" }) => {const [showUpToDate, setShowUpToDate] = useState(false);const [showPortableUpdateDialog, setShowPortableUpdateDialog] =useState(false);+ const [portableInstallerUrl, setPortableInstallerUrl] = useState<string>(+ PORTABLE_RELEASES_URL,+ );const { settings, isLoading } = useSettings();const settingsLoaded = !isLoading && settings !== null;@@ -72,6 +80,11 @@ const UpdateChecker: React.FC<UpdateCheckerProps> = ({ className = "" }) => {if (update) {setUpdateAvailable(true);setShowUpToDate(false);+ // Portable installs can't self-update in place — the manual dialog links+ // straight at the matching installer from this manifest instead.+ setPortableInstallerUrl(+ resolvePortableInstallerUrl(update.rawJson, platform(), arch()),+ );} else {setUpdateAvailable(false);@@ -182,6 +195,10 @@ const UpdateChecker: React.FC<UpdateCheckerProps> = ({ className = "" }) => {const isUpdateClickable =!isUpdateDisabled && (updateAvailable || (!isChecking && !showUpToDate));+ // When no installer could be resolved for this target the button falls back to+ // the releases index, so the dialog has to say "browse" rather than "download".+ const hasDirectInstaller = portableInstallerUrl !== PORTABLE_RELEASES_URL;+return (<>{showPortableUpdateDialog && (@@ -191,7 +208,9 @@ const UpdateChecker: React.FC<UpdateCheckerProps> = ({ className = "" }) => {{t("footer.portableUpdateTitle")}</h2><p className="text-sm text-text/70">- {t("footer.portableUpdateMessage")}+ {hasDirectInstaller+ ? t("footer.portableUpdateMessage")+ : t("footer.portableUpdateBrowseMessage")}</p><div className="flex gap-2 justify-end"><button@@ -203,11 +222,13 @@ const UpdateChecker: React.FC<UpdateCheckerProps> = ({ className = "" }) => {<buttonclassName="px-3 py-1.5 text-sm rounded bg-logo-primary text-white hover:bg-logo-primary/80 transition-colors"onClick={() => {- openUrl("https://github.com/cjpais/Handy/releases/latest");+ openUrl(portableInstallerUrl);setShowPortableUpdateDialog(false);}}>- {t("footer.portableUpdateButton")}+ {hasDirectInstaller+ ? t("footer.portableUpdateButton")+ : t("footer.portableUpdateBrowseButton")}</button></div></div>diff --git a/src/components/update-checker/portableInstaller.test.ts b/src/components/update-checker/portableInstaller.test.tsnew file mode 100644index 00000000..18b15603--- /dev/null+++ b/src/components/update-checker/portableInstaller.test.ts@@ -0,0 +1,65 @@+// Standalone assert check (no JS unit-test runner in this repo). Run with:+// bun src/components/update-checker/portableInstaller.test.ts+import assert from "node:assert";+import {+ resolvePortableInstallerUrl,+ PORTABLE_RELEASES_URL,+} from "./portableInstaller";++const X64_SETUP =+ "https://github.com/cjpais/Handy/releases/download/v0.9.5/Handy_0.9.5_x64-setup.exe";+const ARM64_SETUP =+ "https://github.com/cjpais/Handy/releases/download/v0.9.5/Handy_0.9.5_arm64-setup.exe";++// Trimmed copy of the real latest.json served from the updater endpoint.+const manifest = {+ version: "0.9.5",+ platforms: {+ "windows-x86_64-nsis": { url: X64_SETUP, signature: "…" },+ "windows-x86_64-msi": {+ url: "https://github.com/cjpais/Handy/releases/download/v0.9.5/Handy_0.9.5_x64_en-US.msi",+ },+ "windows-aarch64-nsis": { url: ARM64_SETUP, signature: "…" },+ "darwin-aarch64": {+ url: "https://github.com/cjpais/Handy/releases/download/v0.9.5/Handy_aarch64.app.tar.gz",+ },+ },+};++// x64 Windows -> the x64 NSIS asset, pinned to the release tag+assert.equal(+ resolvePortableInstallerUrl(manifest, "windows", "x86_64"),+ X64_SETUP,+);++// arm64 Windows -> the arm64 NSIS asset+assert.equal(+ resolvePortableInstallerUrl(manifest, "windows", "aarch64"),+ ARM64_SETUP,+);++// no manifest (check() failed or returned no update) -> releases page fallback+assert.equal(+ resolvePortableInstallerUrl(undefined, "windows", "x86_64"),+ PORTABLE_RELEASES_URL,+);++// no NSIS bundle for this arch -> releases page fallback+assert.equal(+ resolvePortableInstallerUrl(manifest, "windows", "x86"),+ PORTABLE_RELEASES_URL,+);++// non-Windows portable install -> releases page, never a Windows .exe+assert.equal(+ resolvePortableInstallerUrl(manifest, "macos", "aarch64"),+ PORTABLE_RELEASES_URL,+);++// malformed manifest -> releases page fallback+assert.equal(+ resolvePortableInstallerUrl({ platforms: "nope" }, "windows", "x86_64"),+ PORTABLE_RELEASES_URL,+);++console.log("portableInstaller: all assertions passed");diff --git a/src/components/update-checker/portableInstaller.ts b/src/components/update-checker/portableInstaller.tsnew file mode 100644index 00000000..0cce528a--- /dev/null+++ b/src/components/update-checker/portableInstaller.ts@@ -0,0 +1,41 @@+// Portable installs can't self-update in place (no installer, and Windows won't+// let a running exe replace itself). Instead of dumping the user on the releases+// page to hand-pick one of ~27 assets, deep-link the NSIS setup.exe for their+// platform and architecture.+//+// The URL comes straight out of the updater manifest (`Update.rawJson`) rather+// than being rebuilt from the bundler's file-naming convention: it stays correct+// if asset names or the repo slug change, and it points at the immutable+// `releases/download/v<version>/…` tag URL instead of a moving `latest` link.++export const PORTABLE_RELEASES_URL =+ "https://github.com/cjpais/Handy/releases/latest";++/**+ * Pick the NSIS installer URL for the running target out of the update manifest.+ * Falls back to the generic releases page whenever there is no matching entry —+ * e.g. a portable install on a platform Handy ships no NSIS bundle for.+ *+ * @param rawJson `Update.rawJson`, the deserialized `latest.json` manifest+ * @param platformName value from `@tauri-apps/plugin-os` `platform()`+ * @param archName value from `@tauri-apps/plugin-os` `arch()` ("x86_64", "aarch64")+ */+export function resolvePortableInstallerUrl(+ rawJson: Record<string, unknown> | undefined,+ platformName: string,+ archName: string,+): string {+ // NSIS is a Windows-only bundle; nothing else has an installer to link to.+ if (platformName !== "windows") return PORTABLE_RELEASES_URL;++ const platforms = rawJson?.platforms;+ if (!platforms || typeof platforms !== "object") return PORTABLE_RELEASES_URL;++ const entry = (platforms as Record<string, unknown>)[+ `windows-${archName}-nsis`+ ];+ if (!entry || typeof entry !== "object") return PORTABLE_RELEASES_URL;++ const url = (entry as Record<string, unknown>).url;+ return typeof url === "string" ? url : PORTABLE_RELEASES_URL;+}diff --git a/src/i18n/locales/ar/translation.json b/src/i18n/locales/ar/translation.jsonindex 30c95c2e..9c7a8c0e 100644--- a/src/i18n/locales/ar/translation.json+++ b/src/i18n/locales/ar/translation.json@@ -605,8 +605,10 @@"preparing": "...جاري التحضير","checkForUpdates": "التحقق من وجود تحديثات","portableUpdateTitle": "التحديث اليدوي مطلوب",- "portableUpdateMessage": "لا يمكن تحديث التثبيتات المحمولة تلقائيًا. للتحديث: نزّل أحدث مثبّت NSIS من GitHub Releases، وثبّته في المجلد نفسه، ثم انسخ مجلد Data/ (الإعدادات والنماذج والتسجيلات) من الإصدار القديم إلى الجديد.",- "portableUpdateButton": "فتح GitHub Releases"+ "portableUpdateMessage": "لا يمكن تحديث التثبيتات المحمولة تلقائيًا. نزّل المثبّت المناسب لنظامك من الزر أدناه، شغّله، وثبّته في المجلد نفسه — يبقى مجلد Data/ (الإعدادات والنماذج والتسجيلات) في مكانه.",+ "portableUpdateButton": "تنزيل المثبّت",+ "portableUpdateBrowseMessage": "لا يمكن تحديث التثبيتات المحمولة تلقائيًا. نزّل أحدث إصدار مناسب لنظامك من GitHub Releases وثبّته في المجلد نفسه — يبقى مجلد Data/ (الإعدادات والنماذج والتسجيلات) في مكانه.",+ "portableUpdateBrowseButton": "فتح GitHub Releases"},"common": {"loading": "...جاري التحميل",diff --git a/src/i18n/locales/bg/translation.json b/src/i18n/locales/bg/translation.jsonindex c676b3d9..80db4a26 100644--- a/src/i18n/locales/bg/translation.json+++ b/src/i18n/locales/bg/translation.json@@ -605,8 +605,10 @@"preparing": "Подготовка...","checkForUpdates": "Проверка за актуализации","portableUpdateTitle": "Необходима е ръчна актуализация",- "portableUpdateMessage": "Преносимите инсталации не могат да бъдат актуализирани автоматично. За актуализация: изтеглете най-новия NSIS инсталатор от GitHub Releases, инсталирайте го в същата папка, след което копирайте папката Data/ (настройки, модели, записи) от старата версия в новата.",- "portableUpdateButton": "Отвори GitHub Releases"+ "portableUpdateMessage": "Преносимите инсталации не могат да бъдат актуализирани автоматично. Изтеглете инсталатора за вашата система от бутона по-долу, стартирайте го и инсталирайте в същата папка — папката Data/ (настройки, модели, записи) остава на мястото си.",+ "portableUpdateButton": "Изтегляне на инсталатора",+ "portableUpdateBrowseMessage": "Преносимите инсталации не могат да бъдат актуализирани автоматично. Изтеглете най-новата версия за вашата система от GitHub Releases и я инсталирайте в същата папка — папката Data/ (настройки, модели, записи) остава на мястото си.",+ "portableUpdateBrowseButton": "Отвори GitHub Releases"},"common": {"loading": "Зареждане...",diff --git a/src/i18n/locales/cs/translation.json b/src/i18n/locales/cs/translation.jsonindex 34205dea..6e42e63a 100644--- a/src/i18n/locales/cs/translation.json+++ b/src/i18n/locales/cs/translation.json@@ -605,8 +605,10 @@"preparing": "Příprava...","checkForUpdates": "Zkontrolovat aktualizace","portableUpdateTitle": "Vyžadována ruční aktualizace",- "portableUpdateMessage": "Přenosné instalace nelze aktualizovat automaticky. Postup aktualizace: stáhněte nejnovější instalátor NSIS z GitHub Releases, nainstalujte jej do stejné složky a poté zkopírujte svou složku Data/ (nastavení, modely, nahrávky) ze staré verze do nové.",- "portableUpdateButton": "Otevřít GitHub Releases"+ "portableUpdateMessage": "Přenosné instalace nelze aktualizovat automaticky. Níže stáhněte instalátor pro svůj systém, spusťte jej a nainstalujte do stejné složky — vaše složka Data/ (nastavení, modely, nahrávky) zůstane na místě.",+ "portableUpdateButton": "Stáhnout instalátor",+ "portableUpdateBrowseMessage": "Přenosné instalace nelze aktualizovat automaticky. Stáhněte nejnovější verzi pro svůj systém z GitHub Releases a nainstalujte ji do stejné složky — vaše složka Data/ (nastavení, modely, nahrávky) zůstane na místě.",+ "portableUpdateBrowseButton": "Otevřít GitHub Releases"},"common": {"loading": "Načítání...",diff --git a/src/i18n/locales/da/translation.json b/src/i18n/locales/da/translation.jsonindex e32fc566..6121d536 100644--- a/src/i18n/locales/da/translation.json+++ b/src/i18n/locales/da/translation.json@@ -605,8 +605,10 @@"preparing": "Forbereder...","checkForUpdates": "Tjek for opdateringer","portableUpdateTitle": "Manuel opdatering påkrævet",- "portableUpdateMessage": "Flytbare installationer kan ikke opdateres automatisk. For at opdatere: download den nyeste NSIS-installer fra GitHub Releases, installer den i den samme mappe, og kopiér derefter din Data/-mappe (indstillinger, modeller, optagelser) fra den gamle version til den nye.",- "portableUpdateButton": "Åbn GitHub Releases"+ "portableUpdateMessage": "Flytbare installationer kan ikke opdateres automatisk. Download installeren til dit system nedenfor, kør den, og installer i den samme mappe — din Data/-mappe (indstillinger, modeller, optagelser) bliver bevaret.",+ "portableUpdateButton": "Download installer",+ "portableUpdateBrowseMessage": "Flytbare installationer kan ikke opdateres automatisk. Download den nyeste version til dit system fra GitHub Releases, og installer den i den samme mappe — din Data/-mappe (indstillinger, modeller, optagelser) bliver bevaret.",+ "portableUpdateBrowseButton": "Åbn GitHub Releases"},"whatsNew": {"title": "Nyt i Handy v{{version}}"diff --git a/src/i18n/locales/de/translation.json b/src/i18n/locales/de/translation.jsonindex b5d4e56b..204e171b 100644--- a/src/i18n/locales/de/translation.json+++ b/src/i18n/locales/de/translation.json@@ -605,8 +605,10 @@"preparing": "Wird vorbereitet...","checkForUpdates": "Nach Updates suchen","portableUpdateTitle": "Manuelles Update erforderlich",- "portableUpdateMessage": "Portable Installationen können nicht automatisch aktualisiert werden. Zum Aktualisieren: Lade den neuesten NSIS-Installer von GitHub Releases herunter, installiere ihn im selben Ordner und kopiere dann deinen Data/-Ordner (Einstellungen, Modelle, Aufnahmen) von der alten Version in die neue.",- "portableUpdateButton": "GitHub Releases öffnen"+ "portableUpdateMessage": "Portable Installationen können nicht automatisch aktualisiert werden. Lade unten den Installer für dein System herunter, führe ihn aus und installiere in denselben Ordner — dein Data/-Ordner (Einstellungen, Modelle, Aufnahmen) bleibt erhalten.",+ "portableUpdateButton": "Installer herunterladen",+ "portableUpdateBrowseMessage": "Portable Installationen können nicht automatisch aktualisiert werden. Lade die neueste Version für dein System von GitHub Releases herunter und installiere sie in denselben Ordner — dein Data/-Ordner (Einstellungen, Modelle, Aufnahmen) bleibt erhalten.",+ "portableUpdateBrowseButton": "GitHub Releases öffnen"},"common": {"loading": "Wird geladen...",diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.jsonindex 0b12d869..20488920 100644--- a/src/i18n/locales/en/translation.json+++ b/src/i18n/locales/en/translation.json@@ -605,8 +605,10 @@"preparing": "Preparing...","checkForUpdates": "Check for updates","portableUpdateTitle": "Manual update required",- "portableUpdateMessage": "Portable installs cannot be updated automatically. To update: download the latest NSIS installer from GitHub Releases, install it to the same folder, then copy your Data/ folder (settings, models, recordings) from the old version to the new one.",- "portableUpdateButton": "Open GitHub Releases"+ "portableUpdateMessage": "Portable installs cannot be updated automatically. Download the installer for your system below, run it, and install to the same folder — your Data/ folder (settings, models, recordings) is kept in place.",+ "portableUpdateButton": "Download installer",+ "portableUpdateBrowseMessage": "Portable installs cannot be updated automatically. Download the latest version for your system from GitHub Releases and install it to the same folder — your Data/ folder (settings, models, recordings) is kept in place.",+ "portableUpdateBrowseButton": "Open GitHub Releases"},"whatsNew": {"title": "New in Handy v{{version}}"diff --git a/src/i18n/locales/es/translation.json b/src/i18n/locales/es/translation.jsonindex dc132b41..70438241 100644--- a/src/i18n/locales/es/translation.json+++ b/src/i18n/locales/es/translation.json@@ -605,8 +605,10 @@"preparing": "Preparando...","checkForUpdates": "Buscar actualizaciones","portableUpdateTitle": "Actualización manual necesaria",- "portableUpdateMessage": "Las instalaciones portátiles no se pueden actualizar automáticamente. Para actualizar: descarga el instalador NSIS más reciente desde GitHub Releases, instálalo en la misma carpeta y luego copia tu carpeta Data/ (ajustes, modelos, grabaciones) de la versión anterior a la nueva.",- "portableUpdateButton": "Abrir GitHub Releases"+ "portableUpdateMessage": "Las instalaciones portátiles no se pueden actualizar automáticamente. Descarga abajo el instalador para tu sistema, ejecútalo e instálalo en la misma carpeta: tu carpeta Data/ (ajustes, modelos, grabaciones) se conserva.",+ "portableUpdateButton": "Descargar instalador",+ "portableUpdateBrowseMessage": "Las instalaciones portátiles no se pueden actualizar automáticamente. Descarga la versión más reciente para tu sistema desde GitHub Releases e instálala en la misma carpeta: tu carpeta Data/ (ajustes, modelos, grabaciones) se conserva.",+ "portableUpdateBrowseButton": "Abrir GitHub Releases"},"common": {"loading": "Cargando...",diff --git a/src/i18n/locales/fr/translation.json b/src/i18n/locales/fr/translation.jsonindex cc16c5a4..17fc4a13 100644--- a/src/i18n/locales/fr/translation.json+++ b/src/i18n/locales/fr/translation.json@@ -605,8 +605,10 @@"preparing": "Préparation...","checkForUpdates": "Rechercher des mises à jour","portableUpdateTitle": "Mise à jour manuelle requise",- "portableUpdateMessage": "Les installations portables ne peuvent pas être mises à jour automatiquement. Pour mettre à jour : téléchargez le dernier installateur NSIS depuis GitHub Releases, installez-le dans le même dossier, puis copiez votre dossier Data/ (paramètres, modèles, enregistrements) de l’ancienne version vers la nouvelle.",- "portableUpdateButton": "Ouvrir GitHub Releases"+ "portableUpdateMessage": "Les installations portables ne peuvent pas être mises à jour automatiquement. Téléchargez ci-dessous l’installateur correspondant à votre système, exécutez-le et installez-le dans le même dossier : votre dossier Data/ (paramètres, modèles, enregistrements) est conservé.",+ "portableUpdateButton": "Télécharger l’installateur",+ "portableUpdateBrowseMessage": "Les installations portables ne peuvent pas être mises à jour automatiquement. Téléchargez la dernière version correspondant à votre système depuis GitHub Releases et installez-la dans le même dossier : votre dossier Data/ (paramètres, modèles, enregistrements) est conservé.",+ "portableUpdateBrowseButton": "Ouvrir GitHub Releases"},"common": {"loading": "Chargement...",diff --git a/src/i18n/locales/he/translation.json b/src/i18n/locales/he/translation.jsonindex 3acaee7a..70cbd689 100644--- a/src/i18n/locales/he/translation.json+++ b/src/i18n/locales/he/translation.json@@ -605,8 +605,10 @@"preparing": "מכין...","checkForUpdates": "בדוק עדכונים","portableUpdateTitle": "נדרש עדכון ידני",- "portableUpdateMessage": "התקנות ניידות אינן מתעדכנות אוטומטית. כדי לעדכן, הורד את מתקין ה-NSIS האחרון מ-GitHub Releases, התקן לאותה תיקייה, ואז העתק את תיקיית Data/ (הגדרות, מודלים, הקלטות) מהגרסה הישנה לחדשה.",- "portableUpdateButton": "פתח את GitHub Releases"+ "portableUpdateMessage": "התקנות ניידות אינן מתעדכנות אוטומטית. הורד למטה את המתקין המתאים למערכת שלך, הפעל אותו והתקן לאותה תיקייה — תיקיית Data/ (הגדרות, מודלים, הקלטות) נשמרת במקומה.",+ "portableUpdateButton": "הורדת המתקין",+ "portableUpdateBrowseMessage": "התקנות ניידות אינן מתעדכנות אוטומטית. הורד את הגרסה האחרונה המתאימה למערכת שלך מ-GitHub Releases והתקן אותה לאותה תיקייה — תיקיית Data/ (הגדרות, מודלים, הקלטות) נשמרת במקומה.",+ "portableUpdateBrowseButton": "פתח את GitHub Releases"},"common": {"loading": "טוען...",diff --git a/src/i18n/locales/hi/translation.json b/src/i18n/locales/hi/translation.jsonindex 23b871e9..4fb9a20a 100644--- a/src/i18n/locales/hi/translation.json+++ b/src/i18n/locales/hi/translation.json@@ -605,8 +605,10 @@"preparing": "तैयारी हो रही है...","checkForUpdates": "अपडेट जांचें","portableUpdateTitle": "मैन्युअल अपडेट ज़रूरी है",- "portableUpdateMessage": "पोर्टेबल इंस्टॉल अपने आप अपडेट नहीं हो सकते. अपडेट करने के लिए: GitHub Releases से सबसे नया NSIS इंस्टॉलर डाउनलोड करें, उसे उसी फ़ोल्डर में इंस्टॉल करें, फिर पुराने वर्शन से अपना Data/ फ़ोल्डर (सेटिंग, मॉडल, रिकॉर्डिंग) नए वर्शन में कॉपी करें.",- "portableUpdateButton": "GitHub Releases खोलें"+ "portableUpdateMessage": "पोर्टेबल इंस्टॉल अपने आप अपडेट नहीं हो सकते. नीचे से अपने सिस्टम के लिए इंस्टॉलर डाउनलोड करें, उसे चलाएँ और उसी फ़ोल्डर में इंस्टॉल करें — आपका Data/ फ़ोल्डर (सेटिंग, मॉडल, रिकॉर्डिंग) जहाँ है वहीं बना रहता है.",+ "portableUpdateButton": "इंस्टॉलर डाउनलोड करें",+ "portableUpdateBrowseMessage": "पोर्टेबल इंस्टॉल अपने आप अपडेट नहीं हो सकते. GitHub Releases से अपने सिस्टम के लिए नया वर्शन डाउनलोड करें और उसे उसी फ़ोल्डर में इंस्टॉल करें — आपका Data/ फ़ोल्डर (सेटिंग, मॉडल, रिकॉर्डिंग) जहाँ है वहीं बना रहता है.",+ "portableUpdateBrowseButton": "GitHub Releases खोलें"},"whatsNew": {"title": "Handy v{{version}} में नया क्या है"diff --git a/src/i18n/locales/it/translation.json b/src/i18n/locales/it/translation.jsonindex bf03bf63..c66c0001 100644--- a/src/i18n/locales/it/translation.json+++ b/src/i18n/locales/it/translation.json@@ -605,8 +605,10 @@"preparing": "Preparazione...","checkForUpdates": "Controlla aggiornamenti","portableUpdateTitle": "Aggiornamento manuale necessario",- "portableUpdateMessage": "Le installazioni portatili non possono essere aggiornate automaticamente. Per aggiornare: scarica l'ultima versione del programma di installazione NSIS da GitHub Releases, installala nella stessa cartella, quindi copia la cartella Data/ (impostazioni, modelli, registrazioni) dalla vecchia versione a quella nuova..",- "portableUpdateButton": "Apri i rilasci su GitHub"+ "portableUpdateMessage": "Le installazioni portatili non possono essere aggiornate automaticamente. Scarica qui sotto il programma di installazione per il tuo sistema, eseguilo e installalo nella stessa cartella: la cartella Data/ (impostazioni, modelli, registrazioni) viene mantenuta.",+ "portableUpdateButton": "Scarica il programma di installazione",+ "portableUpdateBrowseMessage": "Le installazioni portatili non possono essere aggiornate automaticamente. Scarica da GitHub Releases la versione più recente per il tuo sistema e installala nella stessa cartella: la cartella Data/ (impostazioni, modelli, registrazioni) viene mantenuta.",+ "portableUpdateBrowseButton": "Apri i rilasci su GitHub"},"common": {"loading": "Caricamento...",diff --git a/src/i18n/locales/ja/translation.json b/src/i18n/locales/ja/translation.jsonindex 869681e8..5c25fba9 100644--- a/src/i18n/locales/ja/translation.json+++ b/src/i18n/locales/ja/translation.json@@ -605,8 +605,10 @@"preparing": "準備中…","checkForUpdates": "アップデートを確認","portableUpdateTitle": "手動での更新が必要です",- "portableUpdateMessage": "ポータブル版は自動的に更新できません。更新するには、GitHub Releases から最新の NSIS インストーラーをダウンロードし、同じフォルダーにインストールしてから、古いバージョンの Data フォルダー(設定、モデル、録音)を新しいバージョンにコピーしてください。",- "portableUpdateButton": "GitHub Releases を開く"+ "portableUpdateMessage": "ポータブル版は自動的に更新できません。下のボタンからお使いのシステム向けのインストーラーをダウンロードし、実行して同じフォルダーにインストールしてください。Data フォルダー(設定、モデル、録音)はそのまま残ります。",+ "portableUpdateButton": "インストーラーをダウンロード",+ "portableUpdateBrowseMessage": "ポータブル版は自動的に更新できません。GitHub Releases からお使いのシステム向けの最新版をダウンロードし、同じフォルダーにインストールしてください。Data フォルダー(設定、モデル、録音)はそのまま残ります。",+ "portableUpdateBrowseButton": "GitHub Releases を開く"},"common": {"loading": "読み込み中…",diff --git a/src/i18n/locales/ko/translation.json b/src/i18n/locales/ko/translation.jsonindex 1851283b..8a2fe59c 100644--- a/src/i18n/locales/ko/translation.json+++ b/src/i18n/locales/ko/translation.json@@ -605,8 +605,10 @@"preparing": "준비 중...","checkForUpdates": "업데이트 확인","portableUpdateTitle": "수동 업데이트 필요",- "portableUpdateMessage": "포터블 설치는 자동으로 업데이트할 수 없습니다. 업데이트하려면 GitHub Releases에서 최신 NSIS 설치 프로그램을 다운로드하여 같은 폴더에 설치한 다음, 이전 버전의 Data/ 폴더(설정, 모델, 녹음)를 새 버전으로 복사하세요.",- "portableUpdateButton": "GitHub Releases 열기"+ "portableUpdateMessage": "포터블 설치는 자동으로 업데이트할 수 없습니다. 아래에서 사용 중인 시스템에 맞는 설치 프로그램을 다운로드해 실행하고 같은 폴더에 설치하세요. Data/ 폴더(설정, 모델, 녹음)는 그대로 유지됩니다.",+ "portableUpdateButton": "설치 프로그램 다운로드",+ "portableUpdateBrowseMessage": "포터블 설치는 자동으로 업데이트할 수 없습니다. GitHub Releases에서 사용 중인 시스템에 맞는 최신 버전을 다운로드해 같은 폴더에 설치하세요. Data/ 폴더(설정, 모델, 녹음)는 그대로 유지됩니다.",+ "portableUpdateBrowseButton": "GitHub Releases 열기"},"common": {"loading": "로딩 중...",diff --git a/src/i18n/locales/ne/translation.json b/src/i18n/locales/ne/translation.jsonindex 02711d8d..7df5264e 100644--- a/src/i18n/locales/ne/translation.json+++ b/src/i18n/locales/ne/translation.json@@ -605,8 +605,10 @@"preparing": "तयारी गरिँदैछ...","checkForUpdates": "अपडेटहरू जाँच गर्नुहोस्","portableUpdateTitle": "म्यानुअल अपडेट आवश्यक",- "portableUpdateMessage": "पोर्टेबल इन्स्टलहरू स्वतः अपडेट गर्न सकिँदैन। अपडेट गर्न: GitHub Releases बाट पछिल्लो NSIS इन्स्टलर डाउनलोड गर्नुहोस्, उही फोल्डरमा इन्स्टल गर्नुहोस्, अनि पुरानो संस्करणबाट आफ्नो Data/ फोल्डर (सेटिङ, मोडेल, रेकर्डिङ) नयाँमा कपी गर्नुहोस्।",- "portableUpdateButton": "GitHub Releases खोल्नुहोस्"+ "portableUpdateMessage": "पोर्टेबल इन्स्टलहरू स्वतः अपडेट गर्न सकिँदैन। तलबाट आफ्नो प्रणालीका लागि इन्स्टलर डाउनलोड गर्नुहोस्, चलाउनुहोस् र उही फोल्डरमा इन्स्टल गर्नुहोस् — तपाईंको Data/ फोल्डर (सेटिङ, मोडेल, रेकर्डिङ) जस्ताको तस्तै रहन्छ।",+ "portableUpdateButton": "इन्स्टलर डाउनलोड गर्नुहोस्",+ "portableUpdateBrowseMessage": "पोर्टेबल इन्स्टलहरू स्वतः अपडेट गर्न सकिँदैन। GitHub Releases बाट आफ्नो प्रणालीका लागि पछिल्लो संस्करण डाउनलोड गर्नुहोस् र उही फोल्डरमा इन्स्टल गर्नुहोस् — तपाईंको Data/ फोल्डर (सेटिङ, मोडेल, रेकर्डिङ) जस्ताको तस्तै रहन्छ।",+ "portableUpdateBrowseButton": "GitHub Releases खोल्नुहोस्"},"whatsNew": {"title": "Handy v{{version}} मा नयाँ"diff --git a/src/i18n/locales/nl/translation.json b/src/i18n/locales/nl/translation.jsonindex 0f644a31..67b71934 100644--- a/src/i18n/locales/nl/translation.json+++ b/src/i18n/locales/nl/translation.json@@ -605,8 +605,10 @@"preparing": "Voorbereiden...","checkForUpdates": "Controleren op updates","portableUpdateTitle": "Handmatige update vereist",- "portableUpdateMessage": "Draagbare (portable) installaties kunnen niet automatisch worden bijgewerkt. Om bij te werken: download het nieuwste NSIS-installatiebestand van GitHub Releases, installeer het in dezelfde map en kopieer vervolgens je Data/-map (instellingen, modellen, opnames) van de oude versie naar de nieuwe.",- "portableUpdateButton": "GitHub Releases openen"+ "portableUpdateMessage": "Draagbare (portable) installaties kunnen niet automatisch worden bijgewerkt. Download hieronder het installatiebestand voor je systeem, voer het uit en installeer in dezelfde map — je Data/-map (instellingen, modellen, opnames) blijft behouden.",+ "portableUpdateButton": "Installatiebestand downloaden",+ "portableUpdateBrowseMessage": "Draagbare (portable) installaties kunnen niet automatisch worden bijgewerkt. Download de nieuwste versie voor je systeem van GitHub Releases en installeer die in dezelfde map — je Data/-map (instellingen, modellen, opnames) blijft behouden.",+ "portableUpdateBrowseButton": "GitHub Releases openen"},"whatsNew": {"title": "Nieuw in Handy v{{version}}"diff --git a/src/i18n/locales/pl/translation.json b/src/i18n/locales/pl/translation.jsonindex 4bcd7655..a80b915a 100644--- a/src/i18n/locales/pl/translation.json+++ b/src/i18n/locales/pl/translation.json@@ -605,8 +605,10 @@"preparing": "Przygotowywanie...","checkForUpdates": "Sprawdź aktualizacje","portableUpdateTitle": "Wymagana ręczna aktualizacja",- "portableUpdateMessage": "Instalacji przenośnych nie można aktualizować automatycznie. Aby zaktualizować: pobierz najnowszy instalator NSIS z GitHub Releases, zainstaluj go w tym samym folderze, a następnie skopiuj swój folder Data/ (ustawienia, modele, nagrania) ze starej wersji do nowej.",- "portableUpdateButton": "Otwórz GitHub Releases"+ "portableUpdateMessage": "Instalacji przenośnych nie można aktualizować automatycznie. Pobierz poniżej instalator dla swojego systemu, uruchom go i zainstaluj w tym samym folderze — Twój folder Data/ (ustawienia, modele, nagrania) pozostaje na miejscu.",+ "portableUpdateButton": "Pobierz instalator",+ "portableUpdateBrowseMessage": "Instalacji przenośnych nie można aktualizować automatycznie. Pobierz najnowszą wersję dla swojego systemu z GitHub Releases i zainstaluj ją w tym samym folderze — Twój folder Data/ (ustawienia, modele, nagrania) pozostaje na miejscu.",+ "portableUpdateBrowseButton": "Otwórz GitHub Releases"},"common": {"loading": "Wczytywanie...",diff --git a/src/i18n/locales/pt/translation.json b/src/i18n/locales/pt/translation.jsonindex 68de5028..0d356204 100644--- a/src/i18n/locales/pt/translation.json+++ b/src/i18n/locales/pt/translation.json@@ -605,8 +605,10 @@"preparing": "Preparando...","checkForUpdates": "Verificar atualizações","portableUpdateTitle": "Atualização manual necessária",- "portableUpdateMessage": "Instalações portáteis não podem ser atualizadas automaticamente. Para atualizar: baixe o instalador NSIS mais recente do GitHub Releases, instale-o na mesma pasta e, em seguida, copie sua pasta Data/ (configurações, modelos, gravações) da versão antiga para a nova.",- "portableUpdateButton": "Abrir GitHub Releases"+ "portableUpdateMessage": "Instalações portáteis não podem ser atualizadas automaticamente. Baixe abaixo o instalador para o seu sistema, execute-o e instale na mesma pasta — a sua pasta Data/ (configurações, modelos, gravações) é mantida.",+ "portableUpdateButton": "Baixar instalador",+ "portableUpdateBrowseMessage": "Instalações portáteis não podem ser atualizadas automaticamente. Baixe a versão mais recente para o seu sistema no GitHub Releases e instale-a na mesma pasta — a sua pasta Data/ (configurações, modelos, gravações) é mantida.",+ "portableUpdateBrowseButton": "Abrir GitHub Releases"},"common": {"loading": "Carregando...",diff --git a/src/i18n/locales/ru/translation.json b/src/i18n/locales/ru/translation.jsonindex 6a05b781..743b9c3c 100644--- a/src/i18n/locales/ru/translation.json+++ b/src/i18n/locales/ru/translation.json@@ -605,8 +605,10 @@"preparing": "Подготовка...","checkForUpdates": "Проверить наличие обновлений","portableUpdateTitle": "Требуется ручное обновление",- "portableUpdateMessage": "Портативные установки нельзя обновить автоматически. Чтобы обновить: скачайте последний установщик NSIS со страницы GitHub Releases, установите его в ту же папку, затем скопируйте папку Data/ (настройки, модели, записи) из старой версии в новую.",- "portableUpdateButton": "Открыть GitHub Releases"+ "portableUpdateMessage": "Портативные установки нельзя обновить автоматически. Скачайте ниже установщик для вашей системы, запустите его и установите в ту же папку — папка Data/ (настройки, модели, записи) останется на месте.",+ "portableUpdateButton": "Скачать установщик",+ "portableUpdateBrowseMessage": "Портативные установки нельзя обновить автоматически. Скачайте последнюю версию для вашей системы со страницы GitHub Releases и установите её в ту же папку — папка Data/ (настройки, модели, записи) останется на месте.",+ "portableUpdateBrowseButton": "Открыть GitHub Releases"},"common": {"loading": "Загрузка...",diff --git a/src/i18n/locales/sv/translation.json b/src/i18n/locales/sv/translation.jsonindex 83fb39b1..d26c2410 100644--- a/src/i18n/locales/sv/translation.json+++ b/src/i18n/locales/sv/translation.json@@ -605,8 +605,10 @@"preparing": "Förbereder...","checkForUpdates": "Sök efter uppdateringar","portableUpdateTitle": "Manuell uppdatering krävs",- "portableUpdateMessage": "Portabla installationer kan inte uppdateras automatiskt. Så här uppdaterar du: ladda ner den senaste NSIS-installeraren från GitHub Releases, installera den i samma mapp och kopiera sedan din Data/-mapp (inställningar, modeller, inspelningar) från den gamla versionen till den nya.",- "portableUpdateButton": "Öppna GitHub Releases"+ "portableUpdateMessage": "Portabla installationer kan inte uppdateras automatiskt. Ladda ner installeraren för ditt system nedan, kör den och installera i samma mapp — din Data/-mapp (inställningar, modeller, inspelningar) behålls.",+ "portableUpdateButton": "Ladda ner installeraren",+ "portableUpdateBrowseMessage": "Portabla installationer kan inte uppdateras automatiskt. Ladda ner den senaste versionen för ditt system från GitHub Releases och installera den i samma mapp — din Data/-mapp (inställningar, modeller, inspelningar) behålls.",+ "portableUpdateBrowseButton": "Öppna GitHub Releases"},"common": {"loading": "Laddar...",diff --git a/src/i18n/locales/tr/translation.json b/src/i18n/locales/tr/translation.jsonindex 5865cd28..7031ddd4 100644--- a/src/i18n/locales/tr/translation.json+++ b/src/i18n/locales/tr/translation.json@@ -605,8 +605,10 @@"preparing": "Hazırlanıyor...","checkForUpdates": "Güncellemeleri kontrol et","portableUpdateTitle": "Manuel güncelleme gerekli",- "portableUpdateMessage": "Taşınabilir kurulumlar otomatik olarak güncellenemez. Güncellemek için: GitHub Releases’ten en son NSIS yükleyicisini indirin, aynı klasöre kurun ve ardından Data/ klasörünüzü (ayarlar, modeller, kayıtlar) eski sürümden yenisine kopyalayın.",- "portableUpdateButton": "GitHub Releases’i aç"+ "portableUpdateMessage": "Taşınabilir kurulumlar otomatik olarak güncellenemez. Aşağıdan sisteminize uygun yükleyiciyi indirin, çalıştırın ve aynı klasöre kurun — Data/ klasörünüz (ayarlar, modeller, kayıtlar) yerinde kalır.",+ "portableUpdateButton": "Yükleyiciyi indir",+ "portableUpdateBrowseMessage": "Taşınabilir kurulumlar otomatik olarak güncellenemez. Sisteminize uygun en son sürümü GitHub Releases’ten indirin ve aynı klasöre kurun — Data/ klasörünüz (ayarlar, modeller, kayıtlar) yerinde kalır.",+ "portableUpdateBrowseButton": "GitHub Releases’i aç"},"common": {"loading": "Yükleniyor...",diff --git a/src/i18n/locales/uk/translation.json b/src/i18n/locales/uk/translation.jsonindex da057f12..ed88557d 100644--- a/src/i18n/locales/uk/translation.json+++ b/src/i18n/locales/uk/translation.json@@ -605,8 +605,10 @@"preparing": "Підготовка...","checkForUpdates": "Перевірити оновлення","portableUpdateTitle": "Потрібне ручне оновлення",- "portableUpdateMessage": "Портативні встановлення не можна оновити автоматично. Щоб оновити: завантажте найновіший інсталятор NSIS зі сторінки GitHub Releases, установіть його в ту саму теку, а потім скопіюйте теку Data/ (налаштування, моделі, записи) зі старої версії до нової.",- "portableUpdateButton": "Відкрити GitHub Releases"+ "portableUpdateMessage": "Портативні встановлення не можна оновити автоматично. Завантажте нижче інсталятор для вашої системи, запустіть його та встановіть у ту саму теку — ваша тека Data/ (налаштування, моделі, записи) залишиться на місці.",+ "portableUpdateButton": "Завантажити інсталятор",+ "portableUpdateBrowseMessage": "Портативні встановлення не можна оновити автоматично. Завантажте найновішу версію для вашої системи зі сторінки GitHub Releases та встановіть її в ту саму теку — ваша тека Data/ (налаштування, моделі, записи) залишиться на місці.",+ "portableUpdateBrowseButton": "Відкрити GitHub Releases"},"common": {"loading": "Завантаження...",diff --git a/src/i18n/locales/vi/translation.json b/src/i18n/locales/vi/translation.jsonindex d1d2ce2f..b350704c 100644--- a/src/i18n/locales/vi/translation.json+++ b/src/i18n/locales/vi/translation.json@@ -605,8 +605,10 @@"preparing": "Đang chuẩn bị...","checkForUpdates": "Kiểm tra cập nhật","portableUpdateTitle": "Cần cập nhật thủ công",- "portableUpdateMessage": "Bản cài đặt di động không thể cập nhật tự động. Để cập nhật: tải trình cài đặt NSIS mới nhất từ GitHub Releases, cài đặt vào cùng thư mục, sau đó sao chép thư mục Data/ (cài đặt, mô hình, bản ghi) từ phiên bản cũ sang phiên bản mới.",- "portableUpdateButton": "Mở GitHub Releases"+ "portableUpdateMessage": "Bản cài đặt di động không thể cập nhật tự động. Hãy tải trình cài đặt phù hợp với hệ thống của bạn bên dưới, chạy nó và cài vào cùng thư mục — thư mục Data/ (cài đặt, mô hình, bản ghi) của bạn được giữ nguyên.",+ "portableUpdateButton": "Tải trình cài đặt",+ "portableUpdateBrowseMessage": "Bản cài đặt di động không thể cập nhật tự động. Hãy tải phiên bản mới nhất phù hợp với hệ thống của bạn từ GitHub Releases và cài vào cùng thư mục — thư mục Data/ (cài đặt, mô hình, bản ghi) của bạn được giữ nguyên.",+ "portableUpdateBrowseButton": "Mở GitHub Releases"},"common": {"loading": "Đang tải...",diff --git a/src/i18n/locales/zh-TW/translation.json b/src/i18n/locales/zh-TW/translation.jsonindex 092844cd..771afaa2 100644--- a/src/i18n/locales/zh-TW/translation.json+++ b/src/i18n/locales/zh-TW/translation.json@@ -605,8 +605,10 @@"preparing": "準備中...","checkForUpdates": "檢查更新","portableUpdateTitle": "需要手動更新",- "portableUpdateMessage": "可攜式安裝無法自動更新。更新方法:從 GitHub Releases 下載最新的 NSIS 安裝程式,安裝到相同資料夾,然後將舊版本的 Data/ 資料夾(設定、模型、錄音)複製到新版本。",- "portableUpdateButton": "開啟 GitHub Releases"+ "portableUpdateMessage": "可攜式安裝無法自動更新。請透過下方按鈕下載適用於你的系統的安裝程式,執行後安裝到相同資料夾,你的 Data/ 資料夾(設定、模型、錄音)會保留在原處。",+ "portableUpdateButton": "下載安裝程式",+ "portableUpdateBrowseMessage": "可攜式安裝無法自動更新。請從 GitHub Releases 下載適用於你的系統的最新版本,並安裝到相同資料夾,你的 Data/ 資料夾(設定、模型、錄音)會保留在原處。",+ "portableUpdateBrowseButton": "開啟 GitHub Releases"},"common": {"loading": "載入中...",diff --git a/src/i18n/locales/zh/translation.json b/src/i18n/locales/zh/translation.jsonindex 5f170e0c..7392cbef 100644--- a/src/i18n/locales/zh/translation.json+++ b/src/i18n/locales/zh/translation.json@@ -605,8 +605,10 @@"preparing": "准备中...","checkForUpdates": "检查更新","portableUpdateTitle": "需要手动更新",- "portableUpdateMessage": "便携版无法自动更新。更新方法:从 GitHub Releases 下载最新的 NSIS 安装程序,安装到同一文件夹,然后将旧版本的 Data/ 文件夹(设置、模型、录音)复制到新版本。",- "portableUpdateButton": "打开 GitHub Releases"+ "portableUpdateMessage": "便携版无法自动更新。请通过下方按钮下载适用于你的系统的安装程序,运行后安装到同一文件夹,你的 Data/ 文件夹(设置、模型、录音)会保留在原处。",+ "portableUpdateButton": "下载安装程序",+ "portableUpdateBrowseMessage": "便携版无法自动更新。请从 GitHub Releases 下载适用于你的系统的最新版本,并安装到同一文件夹,你的 Data/ 文件夹(设置、模型、录音)会保留在原处。",+ "portableUpdateBrowseButton": "打开 GitHub Releases"},"common": {"loading": "加载中...",