You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider better cross-platform support by creating/saving/updating the settings.yaml file in a more natural location for the OS. This can be accomplished with the dirs crate from crates.io. Currently, a local crate with the same name is used - cli/src/dirs.rs - and assumes Linux for the default location.
The dirs crate was considered when moved files out of ~/.phylum.
The crate uses locations that are technically correct for each OS, but that means using the very unnatural $HOME/Library/Application Support on macOS...
Since the only concern with our current code is Windows, it probably makes more sense to update our code to use AppData on Windows rather than switching to the dirs crate for everything.
Consider better cross-platform support by creating/saving/updating the
settings.yaml
file in a more natural location for the OS. This can be accomplished with thedirs
crate from crates.io. Currently, a local crate with the same name is used -cli/src/dirs.rs
- and assumes Linux for the default location.References:
dirs
crateThe text was updated successfully, but these errors were encountered: