Skip to content

Commit c9fea30

Browse files
authored
feat: adding macos paths (#2)
1 parent 279e46e commit c9fea30

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

rusticlone/helpers/custom.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ def __init__(self, args) -> None:
7676
Path.home() / "AppData/Roaming/rustic/config",
7777
Path("C:/ProgramData/rustic/config"),
7878
]
79+
elif self.operating_system == "Darwin":
80+
self.profiles_dirs = [
81+
Path.home() / "Library/Application Support/rustic",
82+
Path("/etc/rustic"),
83+
]
7984
else:
8085
self.profiles_dirs = [
8186
Path.home() / ".config/rustic",

0 commit comments

Comments
 (0)