chore: hide camoufox

This commit is contained in:
zhom
2025-07-11 03:22:11 +04:00
parent 188e14e5b5
commit 4d07984d99
3 changed files with 3037 additions and 3587 deletions
+9 -3
View File
@@ -141,7 +141,9 @@ export default function Home() {
const profileList = await invoke<BrowserProfile[]>(
"list_browser_profiles",
);
setProfiles(profileList);
setProfiles(
profileList.filter((profile) => profile.browser !== "camoufox"),
);
// Check for missing binaries after loading profiles
await checkMissingBinaries();
@@ -189,7 +191,9 @@ export default function Home() {
const profileList = await invoke<BrowserProfile[]>(
"list_browser_profiles",
);
setProfiles(profileList);
setProfiles(
profileList.filter((profile) => profile.browser !== "camoufox"),
);
// TODO: remove after a few version bumps, needed to properly display migrated profiles
setTimeout(async () => {
@@ -197,7 +201,9 @@ export default function Home() {
const profiles = await invoke<BrowserProfile[]>(
"list_browser_profiles",
);
setProfiles(profiles);
setProfiles(
profiles.filter((profile) => profile.browser !== "camoufox"),
);
}
await sleep(500);
}, 0);