Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Offer auto-eject of the dmg disk after install
Elton C. Rego7ec3d326774f
diff --git a/app/src/main/index.ts b/app/src/main/index.tsindex 01a1967b..b9f6ac51 100644--- a/app/src/main/index.ts+++ b/app/src/main/index.ts@@ -73,6 +73,7 @@ import { hookMcp } from './mcp'import { startedHidden } from './mcp/paths'import { AUDIO_SCHEME, audioExts, createAudioHandler, trackFile, type AudioExt } from './audio'import { isPreviewBuild, startUpdates, updatesOn } from './updates'+import { offerInstallerEject } from './installer'import type { NoteSaveResult, StartResult } from '../shared/types'// the transcript's player streams each meeting's audio from here; seeking needs stream support (before ready)@@ -923,6 +924,7 @@ app.whenReady().then(() => {if (!openedAtLogin() && !startedHidden(process.platform, process.argv)) createWindow()startDetection()void setup.start()+ void offerInstallerEject()// new versions from GitHub Releases, downloaded in the background and installed on quitif (updatesOn({ packaged: app.isPackaged, fake: isFake(), profile: !!process.env.YOGURT_USER_DATA, platform: process.platform, appImage: !!process.env.APPIMAGE,feed: app.isPackaged && existsSync(join(process.resourcesPath, 'app-update.yml')),diff --git a/app/src/main/installer.ts b/app/src/main/installer.tsnew file mode 100644index 00000000..6685cfa9--- /dev/null+++ b/app/src/main/installer.ts@@ -0,0 +1,26 @@+import { app, dialog } from 'electron'+import { execFile } from 'node:child_process'+import { existsSync, readdirSync } from 'node:fs'+import { join } from 'node:path'+import { t } from '../shared/i18n'++/**+ * Mounted volumes that still hold a Yogurt.app: the disk image it was installed from.+ * Not the volume this Yogurt runs from, so opening it straight off the disk image keeps it mounted.+ */+export const installerVolumes = (exe: string, volumes: string[], hasApp: (volume: string) => boolean): string[] =>+ volumes.filter((v) => !exe.startsWith(`${v}/`) && hasApp(v))++/** Mac: once installed, offers to eject the Yogurt disk image still mounted, like well-made Mac apps do */+export async function offerInstallerEject(): Promise<void> {+ if (process.platform !== 'darwin' || !app.isPackaged) return+ let names: string[]+ try { names = readdirSync('/Volumes') } catch { return }+ const volumes = installerVolumes(app.getPath('exe'), names.map((n) => join('/Volumes', n)), (v) => existsSync(join(v, 'Yogurt.app')))+ if (!volumes.length) return+ const { response } = await dialog.showMessageBox({+ message: t('Eject the Yogurt installer?'), buttons: [t('Eject'), t('Not now')], defaultId: 0, cancelId: 1, noLink: true,+ })+ if (response !== 0) return+ for (const v of volumes) execFile('/usr/bin/hdiutil', ['detach', v], (err) => { if (err) console.warn(`couldn't eject ${v}`, err) })+}diff --git a/app/src/shared/locales/ar.json b/app/src/shared/locales/ar.jsonindex 806ce1a1..aa05b356 100644--- a/app/src/shared/locales/ar.json+++ b/app/src/shared/locales/ar.json@@ -676,5 +676,7 @@"Downloading Yogurt's AI: {progress}": "جارٍ تنزيل ذكاء Yogurt الاصطناعي: {progress}","{done} of {total} GB": "{done} من {total} غيغابايت","{progress} · about {minutes} min left": "{progress} · متبقٍ نحو {minutes} د",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "يمكنك التسجيل الآن. يكتب Yogurt ملاحظاتك ويجيب عن الأسئلة بعد انتهاء هذا."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "يمكنك التسجيل الآن. يكتب Yogurt ملاحظاتك ويجيب عن الأسئلة بعد انتهاء هذا.",+ "Eject the Yogurt installer?": "إخراج مثبّت Yogurt؟",+ "Eject": "إخراج"}diff --git a/app/src/shared/locales/bn.json b/app/src/shared/locales/bn.jsonindex c4fb3d70..4e4851fc 100644--- a/app/src/shared/locales/bn.json+++ b/app/src/shared/locales/bn.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Yogurt-এর AI ডাউনলোড হচ্ছে: {progress}","{done} of {total} GB": "{total} GB-এর মধ্যে {done}","{progress} · about {minutes} min left": "{progress} · প্রায় {minutes} মিনিট বাকি",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "আপনি এখনই রেকর্ড করতে পারেন। এটি শেষ হলে Yogurt আপনার নোট লিখবে এবং প্রশ্নের উত্তর দেবে।"+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "আপনি এখনই রেকর্ড করতে পারেন। এটি শেষ হলে Yogurt আপনার নোট লিখবে এবং প্রশ্নের উত্তর দেবে।",+ "Eject the Yogurt installer?": "Yogurt ইনস্টলার বের করবেন?",+ "Eject": "বের করুন"}diff --git a/app/src/shared/locales/cs.json b/app/src/shared/locales/cs.jsonindex 97586b11..2832d3fc 100644--- a/app/src/shared/locales/cs.json+++ b/app/src/shared/locales/cs.json@@ -646,5 +646,7 @@"Downloading Yogurt's AI: {progress}": "Stahuje se AI Yogurtu: {progress}","{done} of {total} GB": "{done} z {total} GB","{progress} · about {minutes} min left": "{progress} · zbývá asi {minutes} min",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Nahrávat můžete hned. Až se to dokončí, Yogurt napíše vaše poznámky a bude odpovídat na otázky."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Nahrávat můžete hned. Až se to dokončí, Yogurt napíše vaše poznámky a bude odpovídat na otázky.",+ "Eject the Yogurt installer?": "Vysunout instalátor Yogurt?",+ "Eject": "Vysunout"}diff --git a/app/src/shared/locales/da.json b/app/src/shared/locales/da.jsonindex 69768f18..48e38f21 100644--- a/app/src/shared/locales/da.json+++ b/app/src/shared/locales/da.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Henter Yogurts AI: {progress}","{done} of {total} GB": "{done} af {total} GB","{progress} · about {minutes} min left": "{progress} · cirka {minutes} min tilbage",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kan optage nu. Yogurt skriver dine noter og svarer på spørgsmål, når dette er færdigt."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kan optage nu. Yogurt skriver dine noter og svarer på spørgsmål, når dette er færdigt.",+ "Eject the Yogurt installer?": "Skub Yogurt-installationsprogrammet ud?",+ "Eject": "Skub ud"}diff --git a/app/src/shared/locales/de.json b/app/src/shared/locales/de.jsonindex 1236effa..172fb1fd 100644--- a/app/src/shared/locales/de.json+++ b/app/src/shared/locales/de.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Yogurts KI wird heruntergeladen: {progress}","{done} of {total} GB": "{done} von {total} GB","{progress} · about {minutes} min left": "{progress} · noch etwa {minutes} Min.",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kannst jetzt schon aufnehmen. Sobald das fertig ist, schreibt Yogurt deine Notizen und beantwortet Fragen."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kannst jetzt schon aufnehmen. Sobald das fertig ist, schreibt Yogurt deine Notizen und beantwortet Fragen.",+ "Eject the Yogurt installer?": "Yogurt-Installationsprogramm auswerfen?",+ "Eject": "Auswerfen"}diff --git a/app/src/shared/locales/el.json b/app/src/shared/locales/el.jsonindex c17ae6b3..ff36aa28 100644--- a/app/src/shared/locales/el.json+++ b/app/src/shared/locales/el.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Γίνεται λήψη της AI του Yogurt: {progress}","{done} of {total} GB": "{done} από {total} GB","{progress} · about {minutes} min left": "{progress} · απομένουν περίπου {minutes} λεπ.",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Μπορείτε να ηχογραφήσετε τώρα. Το Yogurt γράφει τις σημειώσεις σας και απαντά σε ερωτήσεις μόλις ολοκληρωθεί αυτό."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Μπορείτε να ηχογραφήσετε τώρα. Το Yogurt γράφει τις σημειώσεις σας και απαντά σε ερωτήσεις μόλις ολοκληρωθεί αυτό.",+ "Eject the Yogurt installer?": "Εξαγωγή του προγράμματος εγκατάστασης του Yogurt;",+ "Eject": "Εξαγωγή"}diff --git a/app/src/shared/locales/es.json b/app/src/shared/locales/es.jsonindex 5a9d03f7..4a8650d6 100644--- a/app/src/shared/locales/es.json+++ b/app/src/shared/locales/es.json@@ -633,5 +633,7 @@"Downloading Yogurt's AI: {progress}": "Descargando la IA de Yogurt: {progress}","{done} of {total} GB": "{done} de {total} GB","{progress} · about {minutes} min left": "{progress} · quedan unos {minutes} min",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Ya puedes grabar. Yogurt escribirá tus notas y responderá preguntas cuando esto termine."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Ya puedes grabar. Yogurt escribirá tus notas y responderá preguntas cuando esto termine.",+ "Eject the Yogurt installer?": "¿Expulsar el instalador de Yogurt?",+ "Eject": "Expulsar"}diff --git a/app/src/shared/locales/fi.json b/app/src/shared/locales/fi.jsonindex 7aeefc5c..eba977e6 100644--- a/app/src/shared/locales/fi.json+++ b/app/src/shared/locales/fi.json@@ -623,5 +623,7 @@"Downloading Yogurt's AI: {progress}": "Ladataan Yogurtin tekoälyä: {progress}","{done} of {total} GB": "{done} / {total} Gt","{progress} · about {minutes} min left": "{progress} · noin {minutes} min jäljellä",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Voit nauhoittaa jo nyt. Kun tämä valmistuu, Yogurt kirjoittaa muistiinpanosi ja vastaa kysymyksiin."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Voit nauhoittaa jo nyt. Kun tämä valmistuu, Yogurt kirjoittaa muistiinpanosi ja vastaa kysymyksiin.",+ "Eject the Yogurt installer?": "Poistetaanko Yogurtin asennusohjelma?",+ "Eject": "Poista"}diff --git a/app/src/shared/locales/fil.json b/app/src/shared/locales/fil.jsonindex c50f0d98..8bb50cd4 100644--- a/app/src/shared/locales/fil.json+++ b/app/src/shared/locales/fil.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Dina-download ang AI ng Yogurt: {progress}","{done} of {total} GB": "{done} sa {total} GB","{progress} · about {minutes} min left": "{progress} · mga {minutes} min na lang",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Puwede ka nang mag-record ngayon. Isusulat ng Yogurt ang mga notes mo at sasagot sa mga tanong kapag natapos ito."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Puwede ka nang mag-record ngayon. Isusulat ng Yogurt ang mga notes mo at sasagot sa mga tanong kapag natapos ito.",+ "Eject the Yogurt installer?": "I-eject ang installer ng Yogurt?",+ "Eject": "I-eject"}diff --git a/app/src/shared/locales/fr.json b/app/src/shared/locales/fr.jsonindex 43cd7976..008cbc75 100644--- a/app/src/shared/locales/fr.json+++ b/app/src/shared/locales/fr.json@@ -633,5 +633,7 @@"Downloading Yogurt's AI: {progress}": "Téléchargement de l’IA de Yogurt : {progress}","{done} of {total} GB": "{done} sur {total} Go","{progress} · about {minutes} min left": "{progress} · reste environ {minutes} min",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Vous pouvez déjà enregistrer. Yogurt rédigera vos notes et répondra aux questions une fois ceci terminé."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Vous pouvez déjà enregistrer. Yogurt rédigera vos notes et répondra aux questions une fois ceci terminé.",+ "Eject the Yogurt installer?": "Éjecter le programme d’installation de Yogurt ?",+ "Eject": "Éjecter"}diff --git a/app/src/shared/locales/he.json b/app/src/shared/locales/he.jsonindex dc2b4ba3..a8a3988a 100644--- a/app/src/shared/locales/he.json+++ b/app/src/shared/locales/he.json@@ -633,5 +633,7 @@"Downloading Yogurt's AI: {progress}": "מורידים את הבינה המלאכותית של Yogurt: {progress}","{done} of {total} GB": "{done} מתוך {total} GB","{progress} · about {minutes} min left": "{progress} · נותרו כ־{minutes} דק׳",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "אפשר כבר להקליט. Yogurt יכתוב את ההערות שלך ויענה על שאלות כשזה יסתיים."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "אפשר כבר להקליט. Yogurt יכתוב את ההערות שלך ויענה על שאלות כשזה יסתיים.",+ "Eject the Yogurt installer?": "להוציא את תוכנית ההתקנה של Yogurt?",+ "Eject": "הוצא"}diff --git a/app/src/shared/locales/hi.json b/app/src/shared/locales/hi.jsonindex f8c2ccda..41ea9f5c 100644--- a/app/src/shared/locales/hi.json+++ b/app/src/shared/locales/hi.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Yogurt का AI डाउनलोड हो रहा है: {progress}","{done} of {total} GB": "{total} GB में से {done}","{progress} · about {minutes} min left": "{progress} · लगभग {minutes} मिनट बाकी",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "आप अभी रिकॉर्ड कर सकते हैं। यह पूरा होते ही Yogurt आपके नोट्स लिखेगा और सवालों के जवाब देगा।"+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "आप अभी रिकॉर्ड कर सकते हैं। यह पूरा होते ही Yogurt आपके नोट्स लिखेगा और सवालों के जवाब देगा।",+ "Eject the Yogurt installer?": "Yogurt इंस्टॉलर निकालें?",+ "Eject": "निकालें"}diff --git a/app/src/shared/locales/hu.json b/app/src/shared/locales/hu.jsonindex ac8a76c1..9cfe3426 100644--- a/app/src/shared/locales/hu.json+++ b/app/src/shared/locales/hu.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "A Yogurt AI letöltése: {progress}","{done} of {total} GB": "{done} / {total} GB","{progress} · about {minutes} min left": "{progress} · még kb. {minutes} perc",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Már most rögzíthetsz. Amint ez befejeződik, a Yogurt megírja a jegyzeteidet és válaszol a kérdésekre."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Már most rögzíthetsz. Amint ez befejeződik, a Yogurt megírja a jegyzeteidet és válaszol a kérdésekre.",+ "Eject the Yogurt installer?": "Kiadja a Yogurt telepítőjét?",+ "Eject": "Kiadás"}diff --git a/app/src/shared/locales/id.json b/app/src/shared/locales/id.jsonindex 328e42fd..a69bfdcf 100644--- a/app/src/shared/locales/id.json+++ b/app/src/shared/locales/id.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "Mengunduh AI Yogurt: {progress}","{done} of {total} GB": "{done} dari {total} GB","{progress} · about {minutes} min left": "{progress} · sekitar {minutes} mnt lagi",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Anda sudah bisa merekam. Yogurt akan menulis catatan Anda dan menjawab pertanyaan setelah ini selesai."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Anda sudah bisa merekam. Yogurt akan menulis catatan Anda dan menjawab pertanyaan setelah ini selesai.",+ "Eject the Yogurt installer?": "Keluarkan penginstal Yogurt?",+ "Eject": "Keluarkan"}diff --git a/app/src/shared/locales/it.json b/app/src/shared/locales/it.jsonindex 74fd5c62..b4e5c8de 100644--- a/app/src/shared/locales/it.json+++ b/app/src/shared/locales/it.json@@ -636,5 +636,7 @@"Downloading Yogurt's AI: {progress}": "Download dell’IA di Yogurt: {progress}","{done} of {total} GB": "{done} di {total} GB","{progress} · about {minutes} min left": "{progress} · circa {minutes} min rimanenti",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Puoi già registrare. Yogurt scriverà le tue note e risponderà alle domande quando avrà finito."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Puoi già registrare. Yogurt scriverà le tue note e risponderà alle domande quando avrà finito.",+ "Eject the Yogurt installer?": "Espellere il programma di installazione di Yogurt?",+ "Eject": "Espelli"}diff --git a/app/src/shared/locales/ja.json b/app/src/shared/locales/ja.jsonindex ac6fc5c1..cfb0129d 100644--- a/app/src/shared/locales/ja.json+++ b/app/src/shared/locales/ja.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "YogurtのAIをダウンロード中:{progress}","{done} of {total} GB": "{total} GB中{done} GB","{progress} · about {minutes} min left": "{progress} · 残り約{minutes}分",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "録音は今すぐできます。これが終わると、Yogurtがメモを書き、質問に答えます。"+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "録音は今すぐできます。これが終わると、Yogurtがメモを書き、質問に答えます。",+ "Eject the Yogurt installer?": "Yogurt インストーラを取り出しますか?",+ "Eject": "取り出す"}diff --git a/app/src/shared/locales/ko.json b/app/src/shared/locales/ko.jsonindex d9fb8d27..09e4e1af 100644--- a/app/src/shared/locales/ko.json+++ b/app/src/shared/locales/ko.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "Yogurt AI 다운로드 중: {progress}","{done} of {total} GB": "{total} GB 중 {done} GB","{progress} · about {minutes} min left": "{progress} · 약 {minutes}분 남음",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "지금 바로 녹음할 수 있어요. 이 작업이 끝나면 Yogurt가 노트를 작성하고 질문에 답해요."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "지금 바로 녹음할 수 있어요. 이 작업이 끝나면 Yogurt가 노트를 작성하고 질문에 답해요.",+ "Eject the Yogurt installer?": "Yogurt 설치 프로그램을 추출할까요?",+ "Eject": "추출"}diff --git a/app/src/shared/locales/ms.json b/app/src/shared/locales/ms.jsonindex 57eb9324..6c95534e 100644--- a/app/src/shared/locales/ms.json+++ b/app/src/shared/locales/ms.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "Memuat turun AI Yogurt: {progress}","{done} of {total} GB": "{done} daripada {total} GB","{progress} · about {minutes} min left": "{progress} · kira-kira {minutes} min lagi",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Anda boleh merakam sekarang. Yogurt akan menulis nota anda dan menjawab soalan sebaik sahaja ini selesai."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Anda boleh merakam sekarang. Yogurt akan menulis nota anda dan menjawab soalan sebaik sahaja ini selesai.",+ "Eject the Yogurt installer?": "Keluarkan pemasang Yogurt?",+ "Eject": "Keluarkan"}diff --git a/app/src/shared/locales/nb.json b/app/src/shared/locales/nb.jsonindex 958d5abe..817b992f 100644--- a/app/src/shared/locales/nb.json+++ b/app/src/shared/locales/nb.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Laster ned Yogurts KI: {progress}","{done} of {total} GB": "{done} av {total} GB","{progress} · about {minutes} min left": "{progress} · omtrent {minutes} min igjen",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kan ta opp nå. Yogurt skriver notatene dine og svarer på spørsmål når dette er ferdig."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kan ta opp nå. Yogurt skriver notatene dine og svarer på spørsmål når dette er ferdig.",+ "Eject the Yogurt installer?": "Løse ut Yogurt-installasjonsprogrammet?",+ "Eject": "Løs ut"}diff --git a/app/src/shared/locales/nl.json b/app/src/shared/locales/nl.jsonindex 78dde0f6..b938b591 100644--- a/app/src/shared/locales/nl.json+++ b/app/src/shared/locales/nl.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "AI van Yogurt downloaden: {progress}","{done} of {total} GB": "{done} van {total} GB","{progress} · about {minutes} min left": "{progress} · nog ongeveer {minutes} min",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Je kunt nu al opnemen. Zodra dit klaar is, schrijft Yogurt je notities en beantwoordt het vragen."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Je kunt nu al opnemen. Zodra dit klaar is, schrijft Yogurt je notities en beantwoordt het vragen.",+ "Eject the Yogurt installer?": "Yogurt-installatieprogramma verwijderen?",+ "Eject": "Verwijder"}diff --git a/app/src/shared/locales/pl.json b/app/src/shared/locales/pl.jsonindex b6b81eda..97be7a78 100644--- a/app/src/shared/locales/pl.json+++ b/app/src/shared/locales/pl.json@@ -646,5 +646,7 @@"Downloading Yogurt's AI: {progress}": "Pobieranie AI Yogurt: {progress}","{done} of {total} GB": "{done} z {total} GB","{progress} · about {minutes} min left": "{progress} · pozostało około {minutes} min",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Możesz już nagrywać. Gdy to się skończy, Yogurt napisze Twoje notatki i będzie odpowiadać na pytania."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Możesz już nagrywać. Gdy to się skończy, Yogurt napisze Twoje notatki i będzie odpowiadać na pytania.",+ "Eject the Yogurt installer?": "Wysunąć instalator Yogurt?",+ "Eject": "Wysuń"}diff --git a/app/src/shared/locales/pt-BR.json b/app/src/shared/locales/pt-BR.jsonindex 7aa73554..55c3a941 100644--- a/app/src/shared/locales/pt-BR.json+++ b/app/src/shared/locales/pt-BR.json@@ -633,5 +633,7 @@"Downloading Yogurt's AI: {progress}": "Baixando a IA do Yogurt: {progress}","{done} of {total} GB": "{done} de {total} GB","{progress} · about {minutes} min left": "{progress} · faltam cerca de {minutes} min",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Você já pode gravar. O Yogurt escreve suas notas e responde perguntas quando isso terminar."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Você já pode gravar. O Yogurt escreve suas notas e responde perguntas quando isso terminar.",+ "Eject the Yogurt installer?": "Ejetar o instalador do Yogurt?",+ "Eject": "Ejetar"}diff --git a/app/src/shared/locales/ro.json b/app/src/shared/locales/ro.jsonindex f84da97a..2f970d92 100644--- a/app/src/shared/locales/ro.json+++ b/app/src/shared/locales/ro.json@@ -633,5 +633,7 @@"Downloading Yogurt's AI: {progress}": "Se descarcă AI-ul Yogurt: {progress}","{done} of {total} GB": "{done} din {total} GB","{progress} · about {minutes} min left": "{progress} · mai sunt aproximativ {minutes} min",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Poți înregistra de acum. Yogurt îți scrie notițele și răspunde la întrebări după ce se termină."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Poți înregistra de acum. Yogurt îți scrie notițele și răspunde la întrebări după ce se termină.",+ "Eject the Yogurt installer?": "Scoți programul de instalare Yogurt?",+ "Eject": "Scoate"}diff --git a/app/src/shared/locales/ru.json b/app/src/shared/locales/ru.jsonindex 3b516308..6a38398d 100644--- a/app/src/shared/locales/ru.json+++ b/app/src/shared/locales/ru.json@@ -646,5 +646,7 @@"Downloading Yogurt's AI: {progress}": "Загрузка ИИ Yogurt: {progress}","{done} of {total} GB": "{done} из {total} ГБ","{progress} · about {minutes} min left": "{progress} · осталось около {minutes} мин",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Записывать можно уже сейчас. Когда загрузка закончится, Yogurt напишет заметки и будет отвечать на вопросы."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Записывать можно уже сейчас. Когда загрузка закончится, Yogurt напишет заметки и будет отвечать на вопросы.",+ "Eject the Yogurt installer?": "Извлечь установщик Yogurt?",+ "Eject": "Извлечь"}diff --git a/app/src/shared/locales/sv.json b/app/src/shared/locales/sv.jsonindex 4f398e02..1cea118d 100644--- a/app/src/shared/locales/sv.json+++ b/app/src/shared/locales/sv.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Laddar ner Yogurts AI: {progress}","{done} of {total} GB": "{done} av {total} GB","{progress} · about {minutes} min left": "{progress} · ungefär {minutes} min kvar",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kan spela in redan nu. Yogurt skriver dina anteckningar och svarar på frågor när det här är klart."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Du kan spela in redan nu. Yogurt skriver dina anteckningar och svarar på frågor när det här är klart.",+ "Eject the Yogurt installer?": "Mata ut installationsprogrammet för Yogurt?",+ "Eject": "Mata ut"}diff --git a/app/src/shared/locales/th.json b/app/src/shared/locales/th.jsonindex 8a3088a6..8c812907 100644--- a/app/src/shared/locales/th.json+++ b/app/src/shared/locales/th.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "กำลังดาวน์โหลด AI ของ Yogurt: {progress}","{done} of {total} GB": "{done} จาก {total} GB","{progress} · about {minutes} min left": "{progress} · เหลือประมาณ {minutes} นาที",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "คุณบันทึกได้เลยตอนนี้ Yogurt จะเขียนโน้ตและตอบคำถามให้เมื่อเสร็จแล้ว"+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "คุณบันทึกได้เลยตอนนี้ Yogurt จะเขียนโน้ตและตอบคำถามให้เมื่อเสร็จแล้ว",+ "Eject the Yogurt installer?": "นำตัวติดตั้ง Yogurt ออกไหม",+ "Eject": "นำออก"}diff --git a/app/src/shared/locales/tr.json b/app/src/shared/locales/tr.jsonindex 18b6e1fb..abf5150e 100644--- a/app/src/shared/locales/tr.json+++ b/app/src/shared/locales/tr.json@@ -620,5 +620,7 @@"Downloading Yogurt's AI: {progress}": "Yogurt’un yapay zekası indiriliyor: {progress}","{done} of {total} GB": "{done} / {total} GB","{progress} · about {minutes} min left": "{progress} · yaklaşık {minutes} dk kaldı",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Şimdi kayıt yapabilirsiniz. Bu bittiğinde Yogurt notlarınızı yazar ve soruları yanıtlar."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Şimdi kayıt yapabilirsiniz. Bu bittiğinde Yogurt notlarınızı yazar ve soruları yanıtlar.",+ "Eject the Yogurt installer?": "Yogurt yükleyicisi çıkarılsın mı?",+ "Eject": "Çıkar"}diff --git a/app/src/shared/locales/uk.json b/app/src/shared/locales/uk.jsonindex d1182723..a6359074 100644--- a/app/src/shared/locales/uk.json+++ b/app/src/shared/locales/uk.json@@ -646,5 +646,7 @@"Downloading Yogurt's AI: {progress}": "Завантаження ШІ Yogurt: {progress}","{done} of {total} GB": "{done} із {total} ГБ","{progress} · about {minutes} min left": "{progress} · залишилося близько {minutes} хв",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Записувати можна вже зараз. Коли завантаження завершиться, Yogurt напише нотатки й відповідатиме на запитання."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Записувати можна вже зараз. Коли завантаження завершиться, Yogurt напише нотатки й відповідатиме на запитання.",+ "Eject the Yogurt installer?": "Витягти інсталятор Yogurt?",+ "Eject": "Витягти"}diff --git a/app/src/shared/locales/vi.json b/app/src/shared/locales/vi.jsonindex c9dc8442..a29eeb78 100644--- a/app/src/shared/locales/vi.json+++ b/app/src/shared/locales/vi.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "Đang tải AI của Yogurt: {progress}","{done} of {total} GB": "{done} trên {total} GB","{progress} · about {minutes} min left": "{progress} · còn khoảng {minutes} phút",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Bạn có thể ghi âm ngay bây giờ. Yogurt sẽ viết ghi chú và trả lời câu hỏi khi việc này hoàn tất."+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "Bạn có thể ghi âm ngay bây giờ. Yogurt sẽ viết ghi chú và trả lời câu hỏi khi việc này hoàn tất.",+ "Eject the Yogurt installer?": "Đẩy trình cài đặt Yogurt ra?",+ "Eject": "Đẩy ra"}diff --git a/app/src/shared/locales/zh-CN.json b/app/src/shared/locales/zh-CN.jsonindex 3ad69ce8..78491695 100644--- a/app/src/shared/locales/zh-CN.json+++ b/app/src/shared/locales/zh-CN.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "正在下载 Yogurt 的 AI:{progress}","{done} of {total} GB": "{done} / {total} GB","{progress} · about {minutes} min left": "{progress} · 还需约 {minutes} 分钟",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "现在就可以录音。完成后,Yogurt 会写好你的笔记并回答问题。"+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "现在就可以录音。完成后,Yogurt 会写好你的笔记并回答问题。",+ "Eject the Yogurt installer?": "要推出 Yogurt 安装器吗?",+ "Eject": "推出"}diff --git a/app/src/shared/locales/zh-TW.json b/app/src/shared/locales/zh-TW.jsonindex a688fc2f..7960c9a8 100644--- a/app/src/shared/locales/zh-TW.json+++ b/app/src/shared/locales/zh-TW.json@@ -581,5 +581,7 @@"Downloading Yogurt's AI: {progress}": "正在下載 Yogurt 的 AI:{progress}","{done} of {total} GB": "{done} / {total} GB","{progress} · about {minutes} min left": "{progress} · 還需約 {minutes} 分鐘",- "You can record now. Yogurt writes your notes and answers questions once this finishes.": "現在就可以錄音。完成後,Yogurt 會寫好你的筆記並回答問題。"+ "You can record now. Yogurt writes your notes and answers questions once this finishes.": "現在就可以錄音。完成後,Yogurt 會寫好你的筆記並回答問題。",+ "Eject the Yogurt installer?": "要退出 Yogurt 安裝程式嗎?",+ "Eject": "退出"}diff --git a/app/test/installer.test.ts b/app/test/installer.test.tsnew file mode 100644index 00000000..818088d6--- /dev/null+++ b/app/test/installer.test.ts@@ -0,0 +1,11 @@+import { expect, it, vi } from 'vitest'+vi.mock('electron', () => ({ app: {}, dialog: {} }))+import { installerVolumes } from '../src/main/installer'++it('finds the mounted Yogurt disk image, but not the one Yogurt runs from or volumes without Yogurt', () => {+ const withApp = new Set(['/Volumes/Yogurt', '/Volumes/Yogurt 1'])+ const has = (v: string) => withApp.has(v)+ const volumes = ['/Volumes/Macintosh HD', '/Volumes/Yogurt', '/Volumes/Yogurt 1', '/Volumes/Backup']+ expect(installerVolumes('/Applications/Yogurt.app/Contents/MacOS/Yogurt', volumes, has)).toEqual(['/Volumes/Yogurt', '/Volumes/Yogurt 1'])+ expect(installerVolumes('/Volumes/Yogurt/Yogurt.app/Contents/MacOS/Yogurt', volumes, has)).toEqual(['/Volumes/Yogurt 1'])+})