Skip to content

armgit / soju

Public Imported from GitHub
0

Play Windows games on Apple Silicon Macs. Free, open-source app that installs the official Battle.net, Steam, Epic and GOG launchers and lists your games in one library.

Short install domain: soju.snack-wrap.com

Mikek3d9ecefe8c08
diff --git a/README.ko.md b/README.ko.md
index df39b018daf..fc7601565eb 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -27,7 +27,7 @@ CodeWeavers가 GPL로 공개한 소스(Wine 11.0, CrossOver 26.3 소스 드롭)
## 설치 (한 줄)
```bash
-curl -fsSL bcd1210.github.io/soju/install.sh | bash
+curl -fsSL soju.snack-wrap.com/install.sh | bash
```
Homebrew로도 됩니다:
diff --git a/README.md b/README.md
index 0e0a37788ed..cc0e26da1eb 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ Plus one trap: never put Apple platform binaries (`nohup`, `arch`, …) in the l
## Install (one line)
```bash
-curl -fsSL bcd1210.github.io/soju/install.sh | bash
+curl -fsSL soju.snack-wrap.com/install.sh | bash
```
Or via Homebrew:
diff --git a/docs/index.html b/docs/index.html
index 8ff381bc3c4..fd69b68cc4b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -29,7 +29,7 @@ on M-series Macs. No CrossOver license needed.</p>
soju install # Battle.net + Diablo II: Resurrected
soju steam-install</code></pre>
<p>Or without Homebrew:</p>
-<pre><code>curl -fsSL bcd1210.github.io/soju/install.sh | bash</code></pre>
+<pre><code>curl -fsSL soju.snack-wrap.com/install.sh | bash</code></pre>
<p><a class="btn" href="https://github.com/BCD1210/soju">View on GitHub</a></p>
<h2>Guides</h2>
diff --git a/docs/install.sh b/docs/install.sh
index 229fc6150c5..f19d1ccfcf9 100644
--- a/docs/install.sh
+++ b/docs/install.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# Short-URL entry point for the Soju installer (served by GitHub Pages).
-# curl -fsSL bcd1210.github.io/soju/install.sh | bash
+# Short-URL entry point for the Soju installer (GitHub Pages, fronted by soju.snack-wrap.com).
+# curl -fsSL soju.snack-wrap.com/install.sh | bash
# Downloads and runs the real installer from the main branch.
set -euo pipefail
curl -fsSL "https://raw.githubusercontent.com/BCD1210/soju/main/install.sh" | bash
diff --git a/install.sh b/install.sh
index 03681cbe747..8b781939144 100644
--- a/install.sh
+++ b/install.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Soju one-line installer: Battle.net, Steam, Epic and GOG launchers on Apple Silicon, no CrossOver.
-# curl -fsSL https://raw.githubusercontent.com/BCD1210/soju/main/install.sh | bash
+# curl -fsSL soju.snack-wrap.com/install.sh | bash
# SOJU_PLATFORMS=battlenet,epic,gog curl ... | bash (non-interactive selection)
#
# What it does:
diff --git a/site-worker/.wrangler/cache/wrangler-account.json b/site-worker/.wrangler/cache/wrangler-account.json
new file mode 100644
index 00000000000..db3c4fb1dbe
--- /dev/null
+++ b/site-worker/.wrangler/cache/wrangler-account.json
@@ -0,0 +1,6 @@
+{
+ "account": {
+ "id": "9c347ae8450edb702bdf469cd4a19f7e",
+ "name": "[email protected]'s Account"
+ }
+}
\ No newline at end of file
diff --git a/site-worker/README.md b/site-worker/README.md
new file mode 100644
index 00000000000..e5821ecfa20
--- /dev/null
+++ b/site-worker/README.md
@@ -0,0 +1,5 @@
+Cloudflare Worker that serves the GitHub Pages site (docs/) at soju.snack-wrap.com, so the install command stays short:
+
+ curl -fsSL soju.snack-wrap.com/install.sh | bash
+
+Deploy with `wrangler deploy` from this directory. The custom domain is created by the route entry in wrangler.toml.
diff --git a/site-worker/worker.js b/site-worker/worker.js
new file mode 100644
index 00000000000..0f25c75132d
--- /dev/null
+++ b/site-worker/worker.js
@@ -0,0 +1,12 @@
+// soju.snack-wrap.com: serves the GitHub Pages site (docs/) under a short domain.
+// curl -fsSL soju.snack-wrap.com/install.sh | bash
+export default {
+ async fetch(request) {
+ const url = new URL(request.url);
+ const upstream = new URL("https://bcd1210.github.io/soju" + url.pathname + url.search);
+ const res = await fetch(upstream, { headers: { "User-Agent": "soju-site" }, cf: { cacheTtl: 300 } });
+ const headers = new Headers(res.headers);
+ headers.delete("content-security-policy");
+ return new Response(res.body, { status: res.status, headers });
+ },
+};
diff --git a/site-worker/wrangler.toml b/site-worker/wrangler.toml
new file mode 100644
index 00000000000..e81e37443aa
--- /dev/null
+++ b/site-worker/wrangler.toml
@@ -0,0 +1,7 @@
+name = "soju-site"
+main = "worker.js"
+compatibility_date = "2026-08-01"
+
+[[routes]]
+pattern = "soju.snack-wrap.com"
+custom_domain = true