-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·35 lines (31 loc) · 1.74 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
·35 lines (31 loc) · 1.74 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
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# WolfProxy Installation Script
# (C) 2026 Wolf Software Systems Ltd - http://wolf.uk.com
#
# WolfProxy is distributed as a PREBUILT BINARY built by GitHub CI — there is no
# need to compile it from source. This script used to run `cargo build
# --release`, which failed for anyone who ran it outside a source checkout
# (klasSponsor 2026-06: "could not find Cargo.toml in /root"). It is kept only so
# that older links and docs keep working: it now just runs setup.sh, which
# downloads the right prebuilt binary for this machine's architecture, installs
# it to /opt/wolfproxy, writes a default config, and sets up the systemd
# service — exactly like WolfStack's installer.
set -e
echo ""
echo " __ ______ _ ______ _____ _____ ______ ____ __"
echo " \ \ / / __ \| | | ____| __ \| __ \ / __ \ \ / /\ \ / /"
echo " \ \ /\ / / | | | | | |__ | |__) | |__) | | | \ V / \ \_/ / "
echo " \ \/ \/ /| | | | | | __| | ___/| _ /| | | |> < \ / "
echo " \ /\ / | |__| | |____| | | | | | \ \| |__| / . \ | | "
echo " \/ \/ \____/|______|_| |_| |_| \_\\\\____/_/ \_\ |_| "
echo ""
echo " (C) 2026 Wolf Software Systems Ltd - http://wolf.uk.com"
echo " WolfProxy now ships as a prebuilt binary — fetching the installer..."
echo ""
# Hand off to the canonical binary installer on main. Using curl|bash means this
# works whether install.sh is run from a clone or piped straight from GitHub.
if ! command -v curl >/dev/null 2>&1; then
echo "Error: curl is required. Install it (e.g. 'apt install curl', 'dnf install curl', 'pacman -S curl') and re-run." >&2
exit 1
fi
curl -fsSL https://raw.githubusercontent.com/wolfsoftwaresystemsltd/wolfproxy/main/setup.sh | bash