-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall
More file actions
executable file
·24 lines (24 loc) · 1.17 KB
/
install
File metadata and controls
executable file
·24 lines (24 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# <#
# ── Stegcore Universal Installer ───────────────────────────────────────────
# Works in bash, zsh, sh (Unix) and PowerShell (Windows).
# One URL, both platforms:
# Unix: curl -fsSL https://raw.githubusercontent.com/elementmerc/Stegcore/main/install | sh
# PowerShell: irm https://raw.githubusercontent.com/elementmerc/Stegcore/main/install | iex
# ───────────────────────────────────────────────────────────────────────────
curl -fsSL https://raw.githubusercontent.com/elementmerc/Stegcore/main/install.sh | bash
exit $?
: <<'PS_END'
# #>
$ErrorActionPreference = 'Stop'
try {
$script = Invoke-RestMethod 'https://raw.githubusercontent.com/elementmerc/Stegcore/main/install.ps1'
Invoke-Expression $script
} catch {
Write-Host "Installation failed: $_" -ForegroundColor Red
Write-Host "Try downloading manually: https://github.com/elementmerc/Stegcore/releases" -ForegroundColor Yellow
exit 1
}
<#
PS_END
#>