From 86c83f609964fcddcdb6612d47a4f899144bdd28 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 3 Oct 2024 20:13:42 +0300 Subject: [PATCH] update profile namespace --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3c77837b..aa13113f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,8 @@ use sqlite::Connection; use std::{fs::create_dir_all, sync::Arc}; const VENDOR: &str = "YGGverse"; -const APP_ID: &str = env!("CARGO_PKG_NAME"); +const APP_ID: &str = "Yoda"; // env!("CARGO_PKG_NAME"); +const BRANCH: &str = "Rust-GTK4"; fn main() -> ExitCode { // Init profile path @@ -14,6 +15,7 @@ fn main() -> ExitCode { profile_path.push(VENDOR); profile_path.push(APP_ID); + profile_path.push(BRANCH); if let Err(error) = create_dir_all(&profile_path) { panic!("Failed to create profile directory: {error}")