1
0
mirror of https://github.com/YGGverse/Yoda.git synced 2025-01-26 02:54:15 +00:00

append CARGO_PKG_VERSION to the profile data path

This commit is contained in:
yggverse 2024-10-08 07:46:43 +03:00
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}")