Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

Bundle ID migration: com.herotools.openwispr → com.gizmolabs.openwhispr (#669)

Gabriel Steinf60339c54dac
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6f9a658ed..6bee9e4c8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,10 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
-## [1.6.11] - 2026-04-22
+## [1.7.0] - 2026-04-26
### Added
+- **Bundle ID Migration to Gizmo Labs** (macOS/Windows): App identifier renamed from `com.herotools.openwispr` to `com.gizmolabs.openwhispr` to align with the new legal entity (Gizmo Labs Inc.) and fix the long-standing typo. Existing notes, settings, API keys, and downloaded models carry over automatically on first launch (userData path is keyed by `productName`, not bundle ID). Auto-update from 1.6.x cannot reach this release — Squirrel.Mac enforces `CFBundleIdentifier` matching and the Team ID change in Gizmo Labs signing already broke the cryptographic update chain. Users must manually re-download from openwhispr.com/download
+- **Post-Migration Onboarding** (macOS): One-time modal walks returning users through re-granting Microphone, Accessibility, and System Audio after the bundle rename. Detected via a sentinel file (`.bundle-migrated`) in userData; reuses the existing `PermissionsSection` and live-polling hooks. Fresh installs write the sentinel during onboarding completion so the modal never fires for new users
- **Interoperable Cloud Streaming Providers**: Meeting recording now supports AssemblyAI Universal-3 Pro, Deepgram, and OpenAI Realtime as interchangeable cloud streaming backends. Provider availability is server-authoritative via the `NOTE_RECORDING_PROVIDERS` env var on the API; desktop picks the active provider from the catalog returned by `/api/note-recording-config`
- **Acoustic VAD Gate for Meeting Mic**: Drops system-dominant microphone chunks using RMS/peak thresholds against a rolling reference window, preventing cross-language hallucinations from speaker bleed into the mic
- **Peak Escape**: Soft exception to the VAD gate when the mic peak spikes cleanly over the system-speaking window, so the user's voice onset is never clipped mid-syllable
diff --git a/electron-builder.json b/electron-builder.json
index a9cc8e24d..a42d3b32e 100644
--- a/electron-builder.json
+++ b/electron-builder.json
@@ -1,5 +1,5 @@
{
- "appId": "com.herotools.openwispr",
+ "appId": "com.gizmolabs.openwhispr",
"afterPack": "scripts/afterPack.js",
"productName": "OpenWhispr",
"protocols": {
diff --git a/main.js b/main.js
index ce753f9bd..eeeed4445 100644
--- a/main.js
+++ b/main.js
@@ -51,7 +51,7 @@ const DEFAULT_OAUTH_PROTOCOL_BY_CHANNEL = {
staging: "openwhispr-staging",
production: "openwhispr",
};
-const BASE_WINDOWS_APP_ID = "com.herotools.openwispr";
+const BASE_WINDOWS_APP_ID = "com.gizmolabs.openwhispr";
const DEFAULT_AUTH_BRIDGE_PORT = 5199;
function isElectronBinaryExec() {
diff --git a/package-lock.json b/package-lock.json
index e6e6b06fc..d72589a45 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "open-whispr",
- "version": "1.6.11",
+ "version": "1.7.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "open-whispr",
- "version": "1.6.11",
+ "version": "1.7.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
diff --git a/package.json b/package.json
index ae90d19b1..6992a116f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "open-whispr",
- "version": "1.6.11",
+ "version": "1.7.0",
"description": "A desktop dictation application using whisper.cpp for speech-to-text transcription",
"main": "main.js",
"private": true,
diff --git a/preload.js b/preload.js
index e5e0e494c..32ce6c951 100644
--- a/preload.js
+++ b/preload.js
@@ -304,6 +304,8 @@ contextBridge.exposeInMainWorld("electronAPI", {
downloadUpdate: () => ipcRenderer.invoke("download-update"),
installUpdate: () => ipcRenderer.invoke("install-update"),
getAppVersion: () => ipcRenderer.invoke("get-app-version"),
+ getPostMigrationState: () => ipcRenderer.invoke("get-post-migration-state"),
+ markBundleMigrated: () => ipcRenderer.invoke("mark-bundle-migrated"),
getUpdateStatus: () => ipcRenderer.invoke("get-update-status"),
getUpdateInfo: () => ipcRenderer.invoke("get-update-info"),
diff --git a/src/AppRouter.jsx b/src/AppRouter.jsx
index 69acec999..4089c84f8 100644
--- a/src/AppRouter.jsx
+++ b/src/AppRouter.jsx
@@ -9,7 +9,6 @@ import WindowControls from "./components/WindowControls.tsx";
import { Card, CardContent } from "./components/ui/card.tsx";
import { useAuth } from "./hooks/useAuth";
import { useTheme } from "./hooks/useTheme";
-import { TCC_RESET_MODAL_SEEN_KEY } from "./utils/permissions";
const ControlPanel = React.lazy(() => import("./components/ControlPanel.tsx"));
const OnboardingFlow = React.lazy(() => import("./components/OnboardingFlow.tsx"));
@@ -72,7 +71,6 @@ function MainApp() {
if (isReturningUser) {
localStorage.setItem("onboardingCompleted", "true");
- localStorage.setItem(TCC_RESET_MODAL_SEEN_KEY, "true");
}
const resolved = localStorage.getItem("onboardingCompleted") === "true";
@@ -99,7 +97,6 @@ function MainApp() {
const handleOnboardingComplete = () => {
setShowOnboarding(false);
localStorage.setItem("onboardingCompleted", "true");
- localStorage.setItem("tccResetModalSeen_1_6_11", "true");
};
if (isAgentPanel) {
diff --git a/src/components/ControlPanel.tsx b/src/components/ControlPanel.tsx
index 52863df0e..e2596715a 100644
--- a/src/components/ControlPanel.tsx
+++ b/src/components/ControlPanel.tsx
@@ -3,7 +3,7 @@ import { useTranslation } from "react-i18next";
import { Button } from "./ui/button";
import { Download, RefreshCw, Loader2, AlertTriangle, Zap, ChevronLeft } from "lucide-react";
import UpgradePrompt from "./UpgradePrompt";
-import TccResetModal from "./TccResetModal";
+import PostMigrationOnboarding from "./PostMigrationOnboarding";
import { ConfirmDialog, AlertDialog } from "./ui/dialog";
import { useDialogs } from "../hooks/useDialogs";
import { useHotkey } from "../hooks/useHotkey";
@@ -24,11 +24,7 @@ import ControlPanelSidebar, { type ControlPanelView } from "./ControlPanelSideba
import WindowControls from "./WindowControls";
import { getCachedPlatform } from "../utils/platform";
-import {
- isAccessibilitySkipped,
- isTccResetModalSeen,
- TCC_RESET_MODAL_SEEN_KEY,
-} from "../utils/permissions";
+import { isAccessibilitySkipped } from "../utils/permissions";
import { setActiveNoteId, setActiveFolderId, initializeNotes } from "../stores/noteStore";
import { fetchProviders as fetchStreamingProviders } from "../stores/streamingProvidersStore";
import HistoryView from "./HistoryView";
@@ -51,7 +47,7 @@ export default function ControlPanel() {
const [isLoading, setIsLoading] = useState(true);
const [showSettings, setShowSettings] = useState(false);
const [showUpgradePrompt, setShowUpgradePrompt] = useState(false);
- const [showTccReset, setShowTccReset] = useState(false);
+ const [showPostMigration, setShowPostMigration] = useState(false);
const [limitData, setLimitData] = useState<{ wordsUsed: number; limit: number } | null>(null);
const hasShownUpgradePrompt = useRef(false);
const [settingsSection, setSettingsSection] = useState<string | undefined>();
@@ -135,14 +131,14 @@ export default function ControlPanel() {
useEffect(() => {
if (platform !== "darwin") return;
- if (isTccResetModalSeen()) return;
- if (localStorage.getItem("onboardingCompleted") !== "true") return;
- setShowTccReset(true);
+ window.electronAPI?.getPostMigrationState?.().then((state) => {
+ if (state?.justMigrated) setShowPostMigration(true);
+ });
}, []);
- const dismissTccResetPermanently = useCallback(() => {
- localStorage.setItem(TCC_RESET_MODAL_SEEN_KEY, "true");
- setShowTccReset(false);
+ const dismissPostMigrationPermanently = useCallback(async () => {
+ await window.electronAPI?.markBundleMigrated?.();
+ setShowPostMigration(false);
}, []);
useEffect(() => {
@@ -293,13 +289,10 @@ export default function ControlPanel() {
// When accessibility is missing on macOS, open the permissions settings page
useEffect(() => {
- const cleanup = window.electronAPI?.onAccessibilityMissing?.(() => {
- if (isAccessibilitySkipped()) {
- return;
- }
- if (!isTccResetModalSeen()) {
- return;
- }
+ const cleanup = window.electronAPI?.onAccessibilityMissing?.(async () => {
+ if (isAccessibilitySkipped()) return;
+ const migration = await window.electronAPI?.getPostMigrationState?.();
+ if (migration?.justMigrated) return;
setSettingsSection("privacyData");
setShowSettings(true);
toast({
@@ -595,10 +588,10 @@ export default function ControlPanel() {
limit={limitData?.limit}
/>
- <TccResetModal
- open={showTccReset}
- onOpenChange={setShowTccReset}
- onDone={dismissTccResetPermanently}
+ <PostMigrationOnboarding
+ open={showPostMigration}
+ onOpenChange={setShowPostMigration}
+ onDone={dismissPostMigrationPermanently}
/>
{showSettings && (
diff --git a/src/components/OnboardingFlow.tsx b/src/components/OnboardingFlow.tsx
index 87a2fad42..a82dafc9e 100644
--- a/src/components/OnboardingFlow.tsx
+++ b/src/components/OnboardingFlow.tsx
@@ -307,6 +307,12 @@ export default function OnboardingFlow({ onComplete }: OnboardingFlowProps) {
localStorage.setItem("onboardingCompleted", "true");
localStorage.setItem("skipAuth", skippedAuth.toString());
+ // Fresh install: write the bundle-migration sentinel so the
+ // PostMigrationOnboarding modal doesn't fire on next launch.
+ // Migrating users skip onboarding entirely (their flag carries over
+ // via productName-keyed userData), so they never reach this code.
+ void window.electronAPI?.markBundleMigrated?.();
+
// Non-signed-in users in cloud mode default to BYOK to avoid
// "OpenWhispr Cloud requires sign-in" errors.
if (!isSignedIn && !useLocalWhisper) {
diff --git a/src/components/TccResetModal.tsx b/src/components/PostMigrationOnboarding.tsx
similarity index 74%
rename from src/components/TccResetModal.tsx
rename to src/components/PostMigrationOnboarding.tsx
index 3819bfcb3..a29ae08d8 100644
--- a/src/components/TccResetModal.tsx
+++ b/src/components/PostMigrationOnboarding.tsx
@@ -12,13 +12,17 @@ import PermissionsSection from "./ui/PermissionsSection";
import { usePermissions } from "../hooks/usePermissions";
import { useSystemAudioPermission } from "../hooks/useSystemAudioPermission";
-interface TccResetModalProps {
+interface PostMigrationOnboardingProps {
open: boolean;
onOpenChange: (open: boolean) => void;
onDone: () => void;
}
-export default function TccResetModal({ open, onOpenChange, onDone }: TccResetModalProps) {
+export default function PostMigrationOnboarding({
+ open,
+ onOpenChange,
+ onDone,
+}: PostMigrationOnboardingProps) {
const { t } = useTranslation();
const permissions = usePermissions();
const systemAudio = useSystemAudioPermission();
@@ -27,18 +31,18 @@ export default function TccResetModal({ open, onOpenChange, onDone }: TccResetMo
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent>
<DialogHeader>
- <DialogTitle>{t("tccReset.title")}</DialogTitle>
- <DialogDescription>{t("tccReset.description")}</DialogDescription>
+ <DialogTitle>{t("postMigration.title")}</DialogTitle>
+ <DialogDescription>{t("postMigration.description")}</DialogDescription>
</DialogHeader>
<PermissionsSection permissions={permissions} systemAudio={systemAudio} />
<DialogFooter>
<Button variant="ghost" onClick={() => onOpenChange(false)}>
- {t("tccReset.remindLater")}
+ {t("postMigration.remindLater")}
</Button>
<Button onClick={onDone} disabled={!permissions.micPermissionGranted}>
- {t("tccReset.done")}
+ {t("postMigration.done")}
</Button>
</DialogFooter>
</DialogContent>
diff --git a/src/helpers/ipcHandlers.js b/src/helpers/ipcHandlers.js
index 848cd0f08..16068c5cb 100644
--- a/src/helpers/ipcHandlers.js
+++ b/src/helpers/ipcHandlers.js
@@ -27,6 +27,7 @@ const {
isSpeakerLocked,
} = require("./speakerAssignmentPolicy");
const { downsample24kTo16k, pcm16ToWav } = require("../utils/audioUtils");
+const postMigrationDetector = require("./postMigrationDetector");
const {
DEFAULT_EXPECTED_SPEAKER_COUNT,
MAX_SPEAKER_COUNT,
@@ -6305,6 +6306,14 @@ class IPCHandlers {
return this.updateManager.getAppVersion();
});
+ ipcMain.handle("get-post-migration-state", () => ({
+ justMigrated: postMigrationDetector.isReturningFromOldBundle(),
+ }));
+
+ ipcMain.handle("mark-bundle-migrated", () => {
+ postMigrationDetector.markBundleMigrated();
+ });
+
ipcMain.handle("get-update-status", async () => {
return this.updateManager.getUpdateStatus();
});
diff --git a/src/helpers/postMigrationDetector.js b/src/helpers/postMigrationDetector.js
new file mode 100644
index 000000000..abf05f924
--- /dev/null
+++ b/src/helpers/postMigrationDetector.js
@@ -0,0 +1,27 @@
+const fs = require("fs");
+const path = require("path");
+const { app } = require("electron");
+
+const SENTINEL_FILENAME = ".bundle-migrated";
+const DB_FILENAMES = ["transcriptions.db", "transcriptions-dev.db"];
+
+function getSentinelPath() {
+ return path.join(app.getPath("userData"), SENTINEL_FILENAME);
+}
+
+function isReturningFromOldBundle() {
+ if (process.platform !== "darwin") return false;
+ if (fs.existsSync(getSentinelPath())) return false;
+ const userData = app.getPath("userData");
+ return DB_FILENAMES.some((name) => fs.existsSync(path.join(userData, name)));
+}
+
+function markBundleMigrated() {
+ try {
+ fs.writeFileSync(getSentinelPath(), new Date().toISOString());
+ } catch {
+ // Best-effort: if userData isn't writable, modal re-shows next launch.
+ }
+}
+
+module.exports = { isReturningFromOldBundle, markBundleMigrated };
diff --git a/src/locales/de/translation.json b/src/locales/de/translation.json
index 1aa6811c0..2b8827656 100644
--- a/src/locales/de/translation.json
+++ b/src/locales/de/translation.json
@@ -2033,9 +2033,9 @@
"contactSupport": "Support kontaktieren",
"submitBug": "Fehler melden"
},
- "tccReset": {
- "title": "Berechtigungen für OpenWhispr erneut erteilen",
- "description": "Sorry für die Umstände. OpenWhispr ist zu einem neuen Apple Developer-Konto gewechselt und macOS hat deine Berechtigungen gelöscht. Bitte erteile sie erneut.",
+ "postMigration": {
+ "title": "Willkommen zurück bei OpenWhispr",
+ "description": "Deine Notizen und Einstellungen wurden aus der vorherigen Version übernommen. macOS behandelt das hier allerdings als neue App, daher müssen ein paar Berechtigungen erneut erteilt werden.",
"done": "Fertig",
"remindLater": "Später erinnern"
},
diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index 1ec2321cc..de7078fcb 100644
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -2129,9 +2129,9 @@
"contactSupport": "Contact Support",
"submitBug": "Submit Bug"
},
- "tccReset": {
- "title": "Re-grant OpenWhispr's permissions",
- "description": "Sorry about this. OpenWhispr moved to a new Apple Developer account and macOS cleared your permissions. Please grant them again.",
+ "postMigration": {
+ "title": "Welcome back to OpenWhispr",
+ "description": "Your notes and settings carried over from the previous version. macOS treats this as a new app though, so a few permissions need to be granted again.",
"done": "Done",
"remindLater": "Remind Me Later"
},
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index f15ecefa9..45a8b6495 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -2081,9 +2081,9 @@
"contactSupport": "Contactar soporte",
"submitBug": "Reportar un error"
},
- "tccReset": {
- "title": "Vuelve a conceder los permisos de OpenWhispr",
- "description": "Perdona las molestias. OpenWhispr se ha trasladado a una nueva cuenta de Apple Developer y macOS ha borrado tus permisos. Vuelve a concederlos, por favor.",
+ "postMigration": {
+ "title": "Te damos la bienvenida de nuevo a OpenWhispr",
+ "description": "Tus notas y ajustes se han trasladado desde la versión anterior. Eso sí, macOS lo trata como una app nueva, así que tendrás que volver a conceder algunos permisos.",
"done": "Hecho",
"remindLater": "Recordármelo más tarde"
},
diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json
index 2fcd8564f..e93234ccd 100644
--- a/src/locales/fr/translation.json
+++ b/src/locales/fr/translation.json
@@ -2081,9 +2081,9 @@
"contactSupport": "Contacter le support",
"submitBug": "Signaler un bug"
},
- "tccReset": {
- "title": "Réautoriser les permissions d'OpenWhispr",
- "description": "Désolé pour la gêne. OpenWhispr a migré vers un nouveau compte Apple Developer et macOS a effacé vos permissions. Merci de les accorder à nouveau.",
+ "postMigration": {
+ "title": "Bon retour sur OpenWhispr",
+ "description": "Vos notes et vos paramètres ont été conservés depuis la version précédente. macOS considère toutefois cette installation comme une nouvelle app, il faudra donc accorder à nouveau quelques permissions.",
"done": "Terminé",
"remindLater": "Me le rappeler plus tard"
},
diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json
index 698821750..fd93a0c00 100644
--- a/src/locales/it/translation.json
+++ b/src/locales/it/translation.json
@@ -2033,9 +2033,9 @@
"contactSupport": "Contatta il supporto",
"submitBug": "Segnala un bug"
},
- "tccReset": {
- "title": "Concedi nuovamente le autorizzazioni di OpenWhispr",
- "description": "Ci scusiamo per il disagio. OpenWhispr è stata spostata su un nuovo account Apple Developer e macOS ha cancellato le tue autorizzazioni. Per favore concedile di nuovo.",
+ "postMigration": {
+ "title": "Bentornato su OpenWhispr",
+ "description": "Le tue note e le tue impostazioni sono state mantenute dalla versione precedente. macOS però la considera come una nuova app, quindi dovrai concedere di nuovo alcune autorizzazioni.",
"done": "Fatto",
"remindLater": "Ricordamelo più tardi"
},
diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.json
index f44af4790..03055cfee 100644
--- a/src/locales/ja/translation.json
+++ b/src/locales/ja/translation.json
@@ -2033,9 +2033,9 @@
"contactSupport": "サポートに問い合わせ",
"submitBug": "バグを報告"
},
- "tccReset": {
- "title": "OpenWhispr の権限を再付与してください",
- "description": "ご不便をおかけしてすみません。OpenWhispr が新しい Apple Developer アカウントに移行したため、macOS が権限をリセットしました。お手数ですが、もう一度権限を付与してください。",
+ "postMigration": {
+ "title": "OpenWhispr へおかえりなさい",
+ "description": "ノートと設定は以前のバージョンから引き継がれています。ただし macOS はこれを新しいアプリとして扱うため、いくつかの権限を改めて付与していただく必要があります。",
"done": "完了",
"remindLater": "後で通知"
},
diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json
index a9c1d8c3f..b15fc6191 100644
--- a/src/locales/pt/translation.json
+++ b/src/locales/pt/translation.json
@@ -2033,9 +2033,9 @@
"contactSupport": "Contatar suporte",
"submitBug": "Reportar um bug"
},
- "tccReset": {
- "title": "Conceder novamente as permissões do OpenWhispr",
- "description": "Desculpe pelo incômodo. O OpenWhispr foi transferido para uma nova conta Apple Developer e o macOS apagou suas permissões. Por favor, conceda-as novamente.",
+ "postMigration": {
+ "title": "Bem-vindo de volta ao OpenWhispr",
+ "description": "Suas notas e configurações foram mantidas da versão anterior. No entanto, o macOS trata isto como um novo app, então algumas permissões precisam ser concedidas novamente.",
"done": "Concluído",
"remindLater": "Lembrar-me mais tarde"
},
diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json
index 69913c39a..80bf4f665 100644
--- a/src/locales/ru/translation.json
+++ b/src/locales/ru/translation.json
@@ -2035,9 +2035,9 @@
"contactSupport": "Связаться с поддержкой",
"submitBug": "Сообщить об ошибке"
},
- "tccReset": {
- "title": "Повторно предоставьте разрешения для OpenWhispr",
- "description": "Извините за неудобства. OpenWhispr перешёл на новую учётную запись Apple Developer, и macOS сбросил ваши разрешения. Пожалуйста, предоставьте их заново.",
+ "postMigration": {
+ "title": "С возвращением в OpenWhispr",
+ "description": "Ваши заметки и настройки перенесены из предыдущей версии. Однако macOS считает это новым приложением, поэтому потребуется заново предоставить несколько разрешений.",
"done": "Готово",
"remindLater": "Напомнить позже"
},
diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.json
index 7812322a0..dbd6874e0 100644
--- a/src/locales/zh-CN/translation.json
+++ b/src/locales/zh-CN/translation.json
@@ -2028,9 +2028,9 @@
"contactSupport": "联系支持",
"submitBug": "提交 Bug"
},
- "tccReset": {
- "title": "重新授予 OpenWhispr 权限",
- "description": "抱歉给您带来不便。OpenWhispr 已迁移到新的 Apple Developer 账户,macOS 清除了您的权限。请重新授予这些权限。",
+ "postMigration": {
+ "title": "欢迎回到 OpenWhispr",
+ "description": "您的笔记和设置已从此前的版本中保留下来。不过 macOS 会将其视为一款全新的应用,因此需要您重新授予一些权限。",
"done": "完成",
"remindLater": "稍后提醒我"
},
diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.json
index ec9264ce6..8b076c4cb 100644
--- a/src/locales/zh-TW/translation.json
+++ b/src/locales/zh-TW/translation.json
@@ -2028,9 +2028,9 @@
"contactSupport": "聯絡支援",
"submitBug": "提交 Bug"
},
- "tccReset": {
- "title": "重新授予 OpenWhispr 權限",
- "description": "抱歉造成不便。OpenWhispr 已遷移至新的 Apple Developer 帳號,macOS 已清除您的權限。請重新授予這些權限。",
+ "postMigration": {
+ "title": "歡迎回到 OpenWhispr",
+ "description": "您的筆記與設定已從先前版本保留下來。不過 macOS 會將此視為一款全新的應用程式,因此需要您重新授予部分權限。",
"done": "完成",
"remindLater": "稍後提醒我"
},
diff --git a/src/types/electron.ts b/src/types/electron.ts
index 8a6055490..a4796c59c 100644
--- a/src/types/electron.ts
+++ b/src/types/electron.ts
@@ -767,6 +767,8 @@ declare global {
downloadUpdate: () => Promise<UpdateResult>;
installUpdate: () => Promise<UpdateResult>;
getAppVersion: () => Promise<AppVersionResult>;
+ getPostMigrationState: () => Promise<{ justMigrated: boolean }>;
+ markBundleMigrated: () => Promise<void>;
getUpdateStatus: () => Promise<UpdateStatusResult>;
getUpdateInfo: () => Promise<UpdateInfoResult | null>;
diff --git a/src/utils/permissions.ts b/src/utils/permissions.ts
index 244cbd0a2..871571919 100644
--- a/src/utils/permissions.ts
+++ b/src/utils/permissions.ts
@@ -14,11 +14,3 @@ export function isAccessibilitySkipped(): boolean {
if (typeof window === "undefined") return false;
return window.localStorage.getItem(ACCESSIBILITY_SKIPPED_KEY) === "true";
}
-
-/** Set once the user completes or permanently dismisses the 1.6.11 TCC re-grant modal. Suppresses re-showing it and other accessibility nags while the migration is pending. */
-export const TCC_RESET_MODAL_SEEN_KEY = "tccResetModalSeen_1_6_11";
-
-export function isTccResetModalSeen(): boolean {
- if (typeof window === "undefined") return false;
- return window.localStorage.getItem(TCC_RESET_MODAL_SEEN_KEY) === "true";
-}