cargo-atcoder icon indicating copy to clipboard operation
cargo-atcoder copied to clipboard

Config path is not ~/Library/Preferences/cargo-atcoder.toml but ~/Library/Application Support/cargo-atcoder.toml in macOS

Open UseK opened this issue 4 years ago • 1 comments

macOS 環境における設定ファイルのパスが ~/Library/Preferences/cargo-atcoder.toml から ~/Library/Application Support/cargo-atcoder.toml に変更されたようです

macOS 環境でsubmitしてもソースコードで提出されたり、crossが使われなくなったりして不思議に思ったのですが上記が原因でした。 dirsのバージョンが2.0.2から3.0.1に更新されるに伴いconfig_dir()が返す値が変更された事が原因のようです。 https://docs.rs/dirs/2.0.2/dirs/fn.config_dir.html https://docs.rs/dirs/3.0.1/dirs/fn.config_dir.html

UseK avatar Oct 01 '20 21:10 UseK

#54 で解決されますね。

UseK avatar Oct 15 '20 21:10 UseK