mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
fix: linux file permissions problem
check-config configuration file moved from temp_dir to home_dir, resolved
This commit is contained in:
parent
f0c4360210
commit
7550c2321c
|
@ -85,7 +85,7 @@ impl Config {
|
|||
pub fn generate_file(typ: ConfigType) -> Result<PathBuf> {
|
||||
let path = match typ {
|
||||
ConfigType::Run => dirs::app_home_dir()?.join(RUNTIME_CONFIG),
|
||||
ConfigType::Check => temp_dir().join(CHECK_CONFIG),
|
||||
ConfigType::Check => dirs::app_home_dir()?.join(CHECK_CONFIG),
|
||||
};
|
||||
|
||||
let runtime = Config::runtime();
|
||||
|
|
Loading…
Reference in New Issue
Block a user