mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-21 16:29:59 -05:00
fix: delete old firefox native host on migration
This commit is contained in:
@@ -91,4 +91,10 @@ def legacy_to_delete(legacy_dir: Path | None) -> list[Path]:
|
|||||||
if not legacy_dir:
|
if not legacy_dir:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
return [*legacy_symlinks(legacy_dir), legacy_dir]
|
non_syms = [Path.home() / ".mozilla/native-messaging-hosts/caelestiafox.json"]
|
||||||
|
|
||||||
|
return [
|
||||||
|
*legacy_symlinks(legacy_dir),
|
||||||
|
*(p for p in non_syms if p.exists()),
|
||||||
|
legacy_dir,
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user