From 838f2d528870fd2593a38a2687d8a6bf511240dc Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 6 Nov 2023 00:06:13 -0700 Subject: [PATCH] ref(webi): move powershell script into its installer dir --- _webi/curl-pipe-bootstrap.tpl.ps1 | 2 +- {_webi => webi}/webi-pwsh.ps1 | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {_webi => webi}/webi-pwsh.ps1 (100%) diff --git a/_webi/curl-pipe-bootstrap.tpl.ps1 b/_webi/curl-pipe-bootstrap.tpl.ps1 index 5ab536d..d797a58 100644 --- a/_webi/curl-pipe-bootstrap.tpl.ps1 +++ b/_webi/curl-pipe-bootstrap.tpl.ps1 @@ -7,6 +7,6 @@ New-Item -Path "$Env:USERPROFILE\Downloads\webi" -ItemType Directory -Force | Out-Null New-Item -Path "$Env:USERPROFILE\.local\bin" -ItemType Directory -Force | Out-Null IF ($null -eq $Env:WEBI_HOST -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" } -curl.exe -s -A "windows" "$Env:WEBI_HOST/packages/_webi/webi-pwsh.ps1" -o "$Env:USERPROFILE\.local\bin\webi-pwsh.ps1" +curl.exe -s -A "windows" "$Env:WEBI_HOST/packages/webi/webi-pwsh.ps1" -o "$Env:USERPROFILE\.local\bin\webi-pwsh.ps1" Set-ExecutionPolicy -Scope Process Bypass & "$Env:USERPROFILE\.local\bin\webi-pwsh.ps1" "{{ exename }}" diff --git a/_webi/webi-pwsh.ps1 b/webi/webi-pwsh.ps1 similarity index 100% rename from _webi/webi-pwsh.ps1 rename to webi/webi-pwsh.ps1