mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
update profile namespace
This commit is contained in:
parent
56b2a26020
commit
86c83f6099
@ -6,7 +6,8 @@ use sqlite::Connection;
|
|||||||
use std::{fs::create_dir_all, sync::Arc};
|
use std::{fs::create_dir_all, sync::Arc};
|
||||||
|
|
||||||
const VENDOR: &str = "YGGverse";
|
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 {
|
fn main() -> ExitCode {
|
||||||
// Init profile path
|
// Init profile path
|
||||||
@ -14,6 +15,7 @@ fn main() -> ExitCode {
|
|||||||
|
|
||||||
profile_path.push(VENDOR);
|
profile_path.push(VENDOR);
|
||||||
profile_path.push(APP_ID);
|
profile_path.push(APP_ID);
|
||||||
|
profile_path.push(BRANCH);
|
||||||
|
|
||||||
if let Err(error) = create_dir_all(&profile_path) {
|
if let Err(error) = create_dir_all(&profile_path) {
|
||||||
panic!("Failed to create profile directory: {error}")
|
panic!("Failed to create profile directory: {error}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user