Skip to content
Snippets Groups Projects
Unverified Commit 5b9e0780 authored by GyDi's avatar GyDi
Browse files

chore: add debug feature

parent 0290d9dd
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ winreg = { version = "0.10", features = ["transactions"] }
default = [ "custom-protocol" ]
custom-protocol = [ "tauri/custom-protocol" ]
verge-dev = []
debug-yml = []
[profile.release]
panic = "abort"
......
......@@ -53,5 +53,9 @@ pub fn profiles_path() -> PathBuf {
}
pub fn profiles_temp_path() -> PathBuf {
temp_dir().join(PROFILE_TEMP)
#[cfg(not(feature = "debug-yml"))]
return temp_dir().join(PROFILE_TEMP);
#[cfg(feature = "debug-yml")]
return app_home_dir().join(PROFILE_TEMP);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment