mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
add archiver as alias for arc
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
# title: Archiver (arc alias)
|
||||
# homepage: https://webinstall.dev/arc
|
||||
# tagline: Alias for https://webinstall.dev/arc
|
||||
# alias: arc
|
||||
# description: |
|
||||
# See https://webinstall.dev/arc
|
||||
|
||||
echo "'archiver@${WEBI_TAG:-stable}' is an alias for 'arc@${WEBI_VERSION:-}'"
|
||||
WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
|
||||
curl -fsSL "$WEBI_HOST/arc@${WEBI_VERSION:-}" | bash
|
||||
Reference in New Issue
Block a user