build(hololake): add verified Windows x64 distribution path
This commit is contained in:
parent
c471453abf
commit
39fc36f35b
13 changed files with 275 additions and 33 deletions
|
|
@ -1195,7 +1195,8 @@ fn modified_unix_ms(metadata: &fs::Metadata) -> u128 {
|
|||
}
|
||||
|
||||
fn git(root: &Path, args: &[&str], operation: &str) -> Result<String, String> {
|
||||
let output = Command::new("/usr/bin/git")
|
||||
let executable = if cfg!(windows) { "git" } else { "/usr/bin/git" };
|
||||
let output = Command::new(executable)
|
||||
.current_dir(root)
|
||||
.env("GIT_TERMINAL_PROMPT", "0")
|
||||
.args(args)
|
||||
|
|
|
|||
Loading…
Reference in a new issue