From d0f1edea43f03a47e263f26723862332f6a51e69 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 8 Oct 2024 07:46:43 +0300 Subject: [PATCH] append CARGO_PKG_VERSION to the profile data path --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 486c83ca..2dae3e7e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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}")