projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bugfix(Windows): make sure ~/Downloads exists
[webi-installers/.git]
/
gh
/
install.ps1
diff --git
a/gh/install.ps1
b/gh/install.ps1
index 9b70e8480f0cb46dc1c06b56a0a93ca7135f3219..ea2f0ab3f48845fb1dd3b706aa7d1d19b3106957 100644
(file)
--- a/
gh/install.ps1
+++ b/
gh/install.ps1
@@
-15,6
+15,7
@@
$pkg_src_bin = "$Env:USERPROFILE\.local\opt\gh-v$Env:WEBI_VERSION\bin"
$pkg_src_dir = "$Env:USERPROFILE\.local\opt\gh-v$Env:WEBI_VERSION"
$pkg_src = "$pkg_src_cmd"
+New-Item "$Env:USERPROFILE\Downloads" -ItemType Directory -Force | out-null
$pkg_download = "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"
# Fetch archive