mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
append CARGO_PKG_VERSION to the profile data path
This commit is contained in:
parent
35772b436c
commit
d0f1edea43
@ -19,6 +19,7 @@ fn main() -> ExitCode {
|
||||
profile_path.push(VENDOR);
|
||||
profile_path.push(APP_ID);
|
||||
profile_path.push(BRANCH);
|
||||
profile_path.push(env!("CARGO_PKG_VERSION")); // @TODO remove after auto-migrate feature implementation
|
||||
|
||||
if let Err(e) = create_dir_all(&profile_path) {
|
||||
panic!("Failed to create profile directory: {e}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user