X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=dotenv-linter%2Finstall.ps1;h=d5f93e7bf89375b81700b39aa964fc492c3c622c;hb=91512157ab426c87e0a82b594620e90e324b23a3;hp=dd28f76a70e96e31e4feba58278a83c01c263ad3;hpb=b944f3cb2597fac8225446ba9fbc110790c59c74;p=webi-installers%2F.git diff --git a/dotenv-linter/install.ps1 b/dotenv-linter/install.ps1 index dd28f76..d5f93e7 100644 --- a/dotenv-linter/install.ps1 +++ b/dotenv-linter/install.ps1 @@ -15,11 +15,11 @@ $pkg_src_bin = "$Env:USERPROFILE\.local\opt\dotenv-linter-v$Env:WEBI_VERSION\bin $pkg_src_dir = "$Env:USERPROFILE\.local\opt\dotenv-linter-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" +New-Item "$Env:USERPROFILE\Downloads\webi" -ItemType Directory -Force | out-null +$pkg_download = "$Env:USERPROFILE\Downloads\webi\$Env:WEBI_PKG_FILE" # Fetch archive -IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE")) +IF (!(Test-Path -Path "$Env:USERPROFILE\Downloads\webi\$Env:WEBI_PKG_FILE")) { # TODO: arch detection echo "Downloading dotenv-linter from $Env:WEBI_PKG_URL to $pkg_download"