X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=shfmt%2Finstall.ps1;h=427b881a0fcc74b382867b80a744d5faab6e5179;hb=b944f3cb2597fac8225446ba9fbc110790c59c74;hp=7b4c44a8de1e873d3a777926b534ab05d9ea8ed7;hpb=0ce7e4951b7706a46981b407bd1446e2b753153d;p=webi-installers%2F.git diff --git a/shfmt/install.ps1 b/shfmt/install.ps1 index 7b4c44a..427b881 100644 --- a/shfmt/install.ps1 +++ b/shfmt/install.ps1 @@ -14,6 +14,7 @@ $pkg_src_bin = "$Env:USERPROFILE\.local\opt\shfmt-v$Env:WEBI_VERSION\bin" $pkg_src_dir = "$Env:USERPROFILE\.local\opt\shfmt-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" IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"))