Skip to content

Commit

Permalink
fix: state_home path not right
Browse files Browse the repository at this point in the history
  • Loading branch information
someoneonsmile committed Oct 19, 2024
1 parent 23ed831 commit 8f34fae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stow-cm"
version = "0.10.3"
version = "0.10.5"
authors = ["someone"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub(crate) const PACK_STATE_HOME: &str = formatcp!(
PACK_ID_ENV
);

pub(crate) const PACK_TRACK_FILE: &str = formatcp!("${{{}}}/track.toml", PACK_STATE_HOME);
pub(crate) const PACK_TRACK_FILE: &str = formatcp!("{}/track.toml", PACK_STATE_HOME);

/// if the value of Some(value) is !, it is equivalent to None.
pub(crate) const UNSET_VALUE: &str = "!";
Expand All @@ -30,7 +30,7 @@ pub(crate) const GLOBAL_CONFIG_FILE: &str = "${XDG_CONFIG_HOME:-~/.config}/stow-
// - default -
// ----------------------------------------------------------------------

pub(crate) const DEFAULT_PACK_DECRYPT: &str = formatcp!("${{{}}}/decrypted/", PACK_STATE_HOME);
pub(crate) const DEFAULT_PACK_DECRYPT: &str = formatcp!("{}/decrypted/", PACK_STATE_HOME);

pub(crate) const DEFAULT_PACK_TARGET: &str =
formatcp!("${{XDG_CONFIG_HOME:-~/.config}}/${{{}}}/", PACK_NAME_ENV);
Expand Down

0 comments on commit 8f34fae

Please sign in to comment.