add archiver as alias for arc
[webi-installers/.git] / archiver / install.ps1
diff --git a/archiver/install.ps1 b/archiver/install.ps1
new file mode 100644 (file)
index 0000000..9c30b1f
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/pwsh
+
+echo "'archiver@$Env:WEBI_TAG' is an alias for 'arc@$Env:WEBI_VERSION'"
+IF ($Env:WEBI_HOST -eq $null -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" }
+curl.exe -fsSL "$Env:WEBI_HOST/arc@$Env:WEBI_VERSION" | powershell