Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ lazy_static! {
/// The path to the ezkl related data.
pub static ref EZKL_REPO_PATH: String =
std::env::var("EZKL_REPO_PATH").unwrap_or_else(|_|
// $HOME/.ezkl/
format!("{}/.ezkl", std::env::var("HOME").unwrap())
// ~/.ezkl/
format!("{}/.ezkl", std::env::var("HOME")
.or_else(|_| std::env::var("USERPROFILE"))
.unwrap())
);

/// The path to the ezkl related data (SRS)
Expand Down
Loading