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
remove the offer to eject the disk image: it asked at awkward moments, like during a system update
christianmatd717da99ea74
diff --git a/app/src/main/index.ts b/app/src/main/index.tsindex b0890923..100a70a1 100644--- a/app/src/main/index.ts+++ b/app/src/main/index.ts@@ -73,7 +73,6 @@ import { hookMcp } from './mcp'import { startedHidden } from './mcp/paths'import { AUDIO_SCHEME, audioExts, createAudioHandler, trackFile, type AudioExt } from './audio'import { finishQuit, hookUpdates, isPreviewBuild, 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)@@ -924,7 +923,6 @@ 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 quitconst updatesAvailable = 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.tsdeleted file mode 100644index 6685cfa9..00000000--- a/app/src/main/installer.ts+++ /dev/null@@ -1,26 +0,0 @@-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 3a5ed9e5..aee7f75f 100644--- a/app/src/shared/locales/ar.json+++ b/app/src/shared/locales/ar.json@@ -686,7 +686,5 @@"Downloading version {version}…": "جارٍ تنزيل الإصدار {version}…","Couldn't check for updates.": "تعذّر البحث عن تحديثات.","You can restart once the recording stops.": "يمكنك إعادة التشغيل بعد توقف التسجيل.",- "Check now": "تحقّق الآن",- "Eject the Yogurt installer?": "إخراج مثبّت Yogurt؟",- "Eject": "إخراج"+ "Check now": "تحقّق الآن"}diff --git a/app/src/shared/locales/bn.json b/app/src/shared/locales/bn.jsonindex 01d35e18..67ca133c 100644--- a/app/src/shared/locales/bn.json+++ b/app/src/shared/locales/bn.json@@ -630,7 +630,5 @@"Downloading version {version}…": "ভার্সন {version} ডাউনলোড হচ্ছে…","Couldn't check for updates.": "আপডেট খোঁজা যায়নি।","You can restart once the recording stops.": "রেকর্ডিং থামলে আবার চালু করতে পারবেন।",- "Check now": "এখনই দেখুন",- "Eject the Yogurt installer?": "Yogurt ইনস্টলার বের করবেন?",- "Eject": "বের করুন"+ "Check now": "এখনই দেখুন"}diff --git a/app/src/shared/locales/cs.json b/app/src/shared/locales/cs.jsonindex eab25551..b523910c 100644--- a/app/src/shared/locales/cs.json+++ b/app/src/shared/locales/cs.json@@ -656,7 +656,5 @@"Downloading version {version}…": "Stahování verze {version}…","Couldn't check for updates.": "Aktualizace se nepodařilo zkontrolovat.","You can restart once the recording stops.": "Restartovat můžete, až nahrávání skončí.",- "Check now": "Zkontrolovat",- "Eject the Yogurt installer?": "Vysunout instalátor Yogurt?",- "Eject": "Vysunout"+ "Check now": "Zkontrolovat"}diff --git a/app/src/shared/locales/da.json b/app/src/shared/locales/da.jsonindex 212a8b79..407dbff5 100644--- a/app/src/shared/locales/da.json+++ b/app/src/shared/locales/da.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Henter version {version}…","Couldn't check for updates.": "Kunne ikke søge efter opdateringer.","You can restart once the recording stops.": "Du kan genstarte, når optagelsen stopper.",- "Check now": "Søg nu",- "Eject the Yogurt installer?": "Skub Yogurt-installationsprogrammet ud?",- "Eject": "Skub ud"+ "Check now": "Søg nu"}diff --git a/app/src/shared/locales/de.json b/app/src/shared/locales/de.jsonindex 94b3a822..1de27539 100644--- a/app/src/shared/locales/de.json+++ b/app/src/shared/locales/de.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Version {version} wird geladen …","Couldn't check for updates.": "Suche nach Updates fehlgeschlagen.","You can restart once the recording stops.": "Du kannst neu starten, sobald die Aufnahme endet.",- "Check now": "Jetzt suchen",- "Eject the Yogurt installer?": "Yogurt-Installationsprogramm auswerfen?",- "Eject": "Auswerfen"+ "Check now": "Jetzt suchen"}diff --git a/app/src/shared/locales/el.json b/app/src/shared/locales/el.jsonindex f62fcf31..88ff7d5e 100644--- a/app/src/shared/locales/el.json+++ b/app/src/shared/locales/el.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Λήψη έκδοσης {version}…","Couldn't check for updates.": "Δεν ήταν δυνατός ο έλεγχος για ενημερώσεις.","You can restart once the recording stops.": "Μπορείς να κάνεις επανεκκίνηση όταν σταματήσει η εγγραφή.",- "Check now": "Έλεγχος τώρα",- "Eject the Yogurt installer?": "Εξαγωγή του προγράμματος εγκατάστασης του Yogurt;",- "Eject": "Εξαγωγή"+ "Check now": "Έλεγχος τώρα"}diff --git a/app/src/shared/locales/es.json b/app/src/shared/locales/es.jsonindex ec3d3152..2245f51c 100644--- a/app/src/shared/locales/es.json+++ b/app/src/shared/locales/es.json@@ -643,7 +643,5 @@"Downloading version {version}…": "Descargando la versión {version}…","Couldn't check for updates.": "No se pudieron buscar actualizaciones.","You can restart once the recording stops.": "Puedes reiniciar cuando termine la grabación.",- "Check now": "Buscar ahora",- "Eject the Yogurt installer?": "¿Expulsar el instalador de Yogurt?",- "Eject": "Expulsar"+ "Check now": "Buscar ahora"}diff --git a/app/src/shared/locales/fi.json b/app/src/shared/locales/fi.jsonindex 641ba78c..bff6fccd 100644--- a/app/src/shared/locales/fi.json+++ b/app/src/shared/locales/fi.json@@ -633,7 +633,5 @@"Downloading version {version}…": "Ladataan versiota {version}…","Couldn't check for updates.": "Päivityksiä ei voitu tarkistaa.","You can restart once the recording stops.": "Voit käynnistää uudelleen, kun tallennus päättyy.",- "Check now": "Tarkista nyt",- "Eject the Yogurt installer?": "Poistetaanko Yogurtin asennusohjelma?",- "Eject": "Poista"+ "Check now": "Tarkista nyt"}diff --git a/app/src/shared/locales/fil.json b/app/src/shared/locales/fil.jsonindex 4d2f5f11..1474d760 100644--- a/app/src/shared/locales/fil.json+++ b/app/src/shared/locales/fil.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Dina-download ang bersyon {version}…","Couldn't check for updates.": "Hindi makahanap ng mga update.","You can restart once the recording stops.": "Puwede kang mag-restart kapag huminto na ang recording.",- "Check now": "Tingnan ngayon",- "Eject the Yogurt installer?": "I-eject ang installer ng Yogurt?",- "Eject": "I-eject"+ "Check now": "Tingnan ngayon"}diff --git a/app/src/shared/locales/fr.json b/app/src/shared/locales/fr.jsonindex be3d8c23..f5315055 100644--- a/app/src/shared/locales/fr.json+++ b/app/src/shared/locales/fr.json@@ -643,7 +643,5 @@"Downloading version {version}…": "Téléchargement de la version {version}…","Couldn't check for updates.": "Impossible de rechercher les mises à jour.","You can restart once the recording stops.": "Vous pourrez redémarrer une fois l’enregistrement terminé.",- "Check now": "Rechercher",- "Eject the Yogurt installer?": "Éjecter le programme d’installation de Yogurt ?",- "Eject": "Éjecter"+ "Check now": "Rechercher"}diff --git a/app/src/shared/locales/he.json b/app/src/shared/locales/he.jsonindex 88615366..60b2ca2b 100644--- a/app/src/shared/locales/he.json+++ b/app/src/shared/locales/he.json@@ -643,7 +643,5 @@"Downloading version {version}…": "מוריד את גרסה {version}…","Couldn't check for updates.": "לא ניתן לחפש עדכונים.","You can restart once the recording stops.": "אפשר להפעיל מחדש אחרי שההקלטה תיפסק.",- "Check now": "בדיקה עכשיו",- "Eject the Yogurt installer?": "להוציא את תוכנית ההתקנה של Yogurt?",- "Eject": "הוצא"+ "Check now": "בדיקה עכשיו"}diff --git a/app/src/shared/locales/hi.json b/app/src/shared/locales/hi.jsonindex 6b5a6c69..c836c4e4 100644--- a/app/src/shared/locales/hi.json+++ b/app/src/shared/locales/hi.json@@ -630,7 +630,5 @@"Downloading version {version}…": "वर्शन {version} डाउनलोड हो रहा है…","Couldn't check for updates.": "अपडेट नहीं खोजे जा सके।","You can restart once the recording stops.": "रिकॉर्डिंग रुकने के बाद आप रीस्टार्ट कर सकते हैं।",- "Check now": "अभी देखें",- "Eject the Yogurt installer?": "Yogurt इंस्टॉलर निकालें?",- "Eject": "निकालें"+ "Check now": "अभी देखें"}diff --git a/app/src/shared/locales/hu.json b/app/src/shared/locales/hu.jsonindex 9f51e854..d86220bf 100644--- a/app/src/shared/locales/hu.json+++ b/app/src/shared/locales/hu.json@@ -630,7 +630,5 @@"Downloading version {version}…": "A(z) {version} verzió letöltése…","Couldn't check for updates.": "Nem sikerült frissítéseket keresni.","You can restart once the recording stops.": "A felvétel leállása után indíthatod újra.",- "Check now": "Keresés most",- "Eject the Yogurt installer?": "Kiadja a Yogurt telepítőjét?",- "Eject": "Kiadás"+ "Check now": "Keresés most"}diff --git a/app/src/shared/locales/id.json b/app/src/shared/locales/id.jsonindex 5bc77d67..df45b8ee 100644--- a/app/src/shared/locales/id.json+++ b/app/src/shared/locales/id.json@@ -591,7 +591,5 @@"Downloading version {version}…": "Mengunduh versi {version}…","Couldn't check for updates.": "Tidak dapat memeriksa pembaruan.","You can restart once the recording stops.": "Anda bisa memulai ulang setelah perekaman berhenti.",- "Check now": "Periksa sekarang",- "Eject the Yogurt installer?": "Keluarkan penginstal Yogurt?",- "Eject": "Keluarkan"+ "Check now": "Periksa sekarang"}diff --git a/app/src/shared/locales/it.json b/app/src/shared/locales/it.jsonindex bcccb706..d3f191a0 100644--- a/app/src/shared/locales/it.json+++ b/app/src/shared/locales/it.json@@ -646,7 +646,5 @@"Downloading version {version}…": "Download della versione {version}…","Couldn't check for updates.": "Impossibile cercare aggiornamenti.","You can restart once the recording stops.": "Puoi riavviare quando la registrazione si ferma.",- "Check now": "Controlla ora",- "Eject the Yogurt installer?": "Espellere il programma di installazione di Yogurt?",- "Eject": "Espelli"+ "Check now": "Controlla ora"}diff --git a/app/src/shared/locales/ja.json b/app/src/shared/locales/ja.jsonindex a29a66c3..8b8963ac 100644--- a/app/src/shared/locales/ja.json+++ b/app/src/shared/locales/ja.json@@ -591,7 +591,5 @@"Downloading version {version}…": "バージョン {version} をダウンロード中…","Couldn't check for updates.": "アップデートを確認できませんでした。","You can restart once the recording stops.": "録音が止まったら再起動できます。",- "Check now": "今すぐ確認",- "Eject the Yogurt installer?": "Yogurt インストーラを取り出しますか?",- "Eject": "取り出す"+ "Check now": "今すぐ確認"}diff --git a/app/src/shared/locales/ko.json b/app/src/shared/locales/ko.jsonindex a2dc4f55..21bb7093 100644--- a/app/src/shared/locales/ko.json+++ b/app/src/shared/locales/ko.json@@ -591,7 +591,5 @@"Downloading version {version}…": "버전 {version} 다운로드 중…","Couldn't check for updates.": "업데이트를 확인할 수 없습니다.","You can restart once the recording stops.": "녹음이 끝나면 다시 시작할 수 있습니다.",- "Check now": "지금 확인",- "Eject the Yogurt installer?": "Yogurt 설치 프로그램을 추출할까요?",- "Eject": "추출"+ "Check now": "지금 확인"}diff --git a/app/src/shared/locales/ms.json b/app/src/shared/locales/ms.jsonindex d02a7fc6..6e3c63ce 100644--- a/app/src/shared/locales/ms.json+++ b/app/src/shared/locales/ms.json@@ -591,7 +591,5 @@"Downloading version {version}…": "Memuat turun versi {version}…","Couldn't check for updates.": "Tidak dapat menyemak kemas kini.","You can restart once the recording stops.": "Anda boleh mula semula selepas rakaman berhenti.",- "Check now": "Semak sekarang",- "Eject the Yogurt installer?": "Keluarkan pemasang Yogurt?",- "Eject": "Keluarkan"+ "Check now": "Semak sekarang"}diff --git a/app/src/shared/locales/nb.json b/app/src/shared/locales/nb.jsonindex f0201e83..7661df28 100644--- a/app/src/shared/locales/nb.json+++ b/app/src/shared/locales/nb.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Laster ned versjon {version} …","Couldn't check for updates.": "Kunne ikke se etter oppdateringer.","You can restart once the recording stops.": "Du kan starte på nytt når opptaket stopper.",- "Check now": "Se etter nå",- "Eject the Yogurt installer?": "Løse ut Yogurt-installasjonsprogrammet?",- "Eject": "Løs ut"+ "Check now": "Se etter nå"}diff --git a/app/src/shared/locales/nl.json b/app/src/shared/locales/nl.jsonindex e7fcac37..a9a1c5e5 100644--- a/app/src/shared/locales/nl.json+++ b/app/src/shared/locales/nl.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Versie {version} downloaden…","Couldn't check for updates.": "Kan niet zoeken naar updates.","You can restart once the recording stops.": "Je kunt opnieuw starten zodra de opname stopt.",- "Check now": "Nu zoeken",- "Eject the Yogurt installer?": "Yogurt-installatieprogramma verwijderen?",- "Eject": "Verwijder"+ "Check now": "Nu zoeken"}diff --git a/app/src/shared/locales/pl.json b/app/src/shared/locales/pl.jsonindex 39a6b516..896b2153 100644--- a/app/src/shared/locales/pl.json+++ b/app/src/shared/locales/pl.json@@ -656,7 +656,5 @@"Downloading version {version}…": "Pobieranie wersji {version}…","Couldn't check for updates.": "Nie udało się sprawdzić aktualizacji.","You can restart once the recording stops.": "Możesz uruchomić ponownie po zatrzymaniu nagrywania.",- "Check now": "Sprawdź teraz",- "Eject the Yogurt installer?": "Wysunąć instalator Yogurt?",- "Eject": "Wysuń"+ "Check now": "Sprawdź teraz"}diff --git a/app/src/shared/locales/pt-BR.json b/app/src/shared/locales/pt-BR.jsonindex 0b5f9270..437d3732 100644--- a/app/src/shared/locales/pt-BR.json+++ b/app/src/shared/locales/pt-BR.json@@ -643,7 +643,5 @@"Downloading version {version}…": "Baixando a versão {version}…","Couldn't check for updates.": "Não foi possível procurar atualizações.","You can restart once the recording stops.": "Você pode reiniciar quando a gravação parar.",- "Check now": "Verificar agora",- "Eject the Yogurt installer?": "Ejetar o instalador do Yogurt?",- "Eject": "Ejetar"+ "Check now": "Verificar agora"}diff --git a/app/src/shared/locales/ro.json b/app/src/shared/locales/ro.jsonindex cf21c562..56504344 100644--- a/app/src/shared/locales/ro.json+++ b/app/src/shared/locales/ro.json@@ -643,7 +643,5 @@"Downloading version {version}…": "Se descarcă versiunea {version}…","Couldn't check for updates.": "Nu s-au putut căuta actualizări.","You can restart once the recording stops.": "Poți reporni după ce se oprește înregistrarea.",- "Check now": "Verifică acum",- "Eject the Yogurt installer?": "Scoți programul de instalare Yogurt?",- "Eject": "Scoate"+ "Check now": "Verifică acum"}diff --git a/app/src/shared/locales/ru.json b/app/src/shared/locales/ru.jsonindex 040cecc2..ed1d68fb 100644--- a/app/src/shared/locales/ru.json+++ b/app/src/shared/locales/ru.json@@ -656,7 +656,5 @@"Downloading version {version}…": "Загрузка версии {version}…","Couldn't check for updates.": "Не удалось проверить обновления.","You can restart once the recording stops.": "Перезапустить можно после остановки записи.",- "Check now": "Проверить",- "Eject the Yogurt installer?": "Извлечь установщик Yogurt?",- "Eject": "Извлечь"+ "Check now": "Проверить"}diff --git a/app/src/shared/locales/sv.json b/app/src/shared/locales/sv.jsonindex f97aa5d3..ec5a499a 100644--- a/app/src/shared/locales/sv.json+++ b/app/src/shared/locales/sv.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Hämtar version {version}…","Couldn't check for updates.": "Kunde inte söka efter uppdateringar.","You can restart once the recording stops.": "Du kan starta om när inspelningen har stoppat.",- "Check now": "Sök nu",- "Eject the Yogurt installer?": "Mata ut installationsprogrammet för Yogurt?",- "Eject": "Mata ut"+ "Check now": "Sök nu"}diff --git a/app/src/shared/locales/th.json b/app/src/shared/locales/th.jsonindex 197c79b4..5b111b9f 100644--- a/app/src/shared/locales/th.json+++ b/app/src/shared/locales/th.json@@ -591,7 +591,5 @@"Downloading version {version}…": "กำลังดาวน์โหลดเวอร์ชัน {version}…","Couldn't check for updates.": "ตรวจหาอัปเดตไม่ได้","You can restart once the recording stops.": "คุณรีสตาร์ทได้เมื่อการบันทึกหยุดแล้ว",- "Check now": "ตรวจสอบเลย",- "Eject the Yogurt installer?": "นำตัวติดตั้ง Yogurt ออกไหม",- "Eject": "นำออก"+ "Check now": "ตรวจสอบเลย"}diff --git a/app/src/shared/locales/tr.json b/app/src/shared/locales/tr.jsonindex 76f95969..f91d03b2 100644--- a/app/src/shared/locales/tr.json+++ b/app/src/shared/locales/tr.json@@ -630,7 +630,5 @@"Downloading version {version}…": "Sürüm {version} indiriliyor…","Couldn't check for updates.": "Güncellemeler aranamadı.","You can restart once the recording stops.": "Kayıt durduğunda yeniden başlatabilirsiniz.",- "Check now": "Şimdi denetle",- "Eject the Yogurt installer?": "Yogurt yükleyicisi çıkarılsın mı?",- "Eject": "Çıkar"+ "Check now": "Şimdi denetle"}diff --git a/app/src/shared/locales/uk.json b/app/src/shared/locales/uk.jsonindex fd812755..48893282 100644--- a/app/src/shared/locales/uk.json+++ b/app/src/shared/locales/uk.json@@ -656,7 +656,5 @@"Downloading version {version}…": "Завантаження версії {version}…","Couldn't check for updates.": "Не вдалося перевірити оновлення.","You can restart once the recording stops.": "Перезапустити можна після зупинки запису.",- "Check now": "Перевірити",- "Eject the Yogurt installer?": "Витягти інсталятор Yogurt?",- "Eject": "Витягти"+ "Check now": "Перевірити"}diff --git a/app/src/shared/locales/vi.json b/app/src/shared/locales/vi.jsonindex e643d446..7ce13b25 100644--- a/app/src/shared/locales/vi.json+++ b/app/src/shared/locales/vi.json@@ -591,7 +591,5 @@"Downloading version {version}…": "Đang tải phiên bản {version}…","Couldn't check for updates.": "Không thể kiểm tra bản cập nhật.","You can restart once the recording stops.": "Bạn có thể khởi động lại khi bản ghi dừng.",- "Check now": "Kiểm tra ngay",- "Eject the Yogurt installer?": "Đẩy trình cài đặt Yogurt ra?",- "Eject": "Đẩy ra"+ "Check now": "Kiểm tra ngay"}diff --git a/app/src/shared/locales/zh-CN.json b/app/src/shared/locales/zh-CN.jsonindex 6e7ed5da..d7460f6a 100644--- a/app/src/shared/locales/zh-CN.json+++ b/app/src/shared/locales/zh-CN.json@@ -591,7 +591,5 @@"Downloading version {version}…": "正在下载版本 {version}…","Couldn't check for updates.": "无法检查更新。","You can restart once the recording stops.": "录音停止后即可重新启动。",- "Check now": "立即检查",- "Eject the Yogurt installer?": "要推出 Yogurt 安装器吗?",- "Eject": "推出"+ "Check now": "立即检查"}diff --git a/app/src/shared/locales/zh-TW.json b/app/src/shared/locales/zh-TW.jsonindex 64527152..3b6e8a2f 100644--- a/app/src/shared/locales/zh-TW.json+++ b/app/src/shared/locales/zh-TW.json@@ -591,7 +591,5 @@"Downloading version {version}…": "正在下載版本 {version}…","Couldn't check for updates.": "無法檢查更新。","You can restart once the recording stops.": "錄音停止後即可重新啟動。",- "Check now": "立即檢查",- "Eject the Yogurt installer?": "要退出 Yogurt 安裝程式嗎?",- "Eject": "退出"+ "Check now": "立即檢查"}diff --git a/app/test/installer.test.ts b/app/test/installer.test.tsdeleted file mode 100644index 818088d6..00000000--- a/app/test/installer.test.ts+++ /dev/null@@ -1,11 +0,0 @@-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'])-})