mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
drop profile directory change on CARGO_PKG_VERSION_PATCH update
This commit is contained in:
parent
53a18acbc5
commit
32d1701fc6
2 changed files with 6 additions and 2 deletions
|
|
@ -19,7 +19,11 @@ 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
|
||||
profile_path.push(format!(
|
||||
"{}.{}",
|
||||
env!("CARGO_PKG_VERSION_MAJOR"),
|
||||
env!("CARGO_PKG_VERSION_MINOR")
|
||||
)); // @TODO remove after auto-migrate feature implementation
|
||||
|
||||
if let Err(e) = create_dir_all(&profile_path) {
|
||||
panic!("Failed to create profile directory: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue