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.
HTML apple-siliconbattle-netcrossover-alternatived3dmetaldiablo-ii-resurrecteddxmtea-appepic-gamesgame-porting-toolkitgogmac-gamingmacosmacos-gamingrockstar-gamessteamubisoft-connectwhisky-alternativewindows-gameswinewine-wrapper
Buy inside Soju: checkout started by the site worker, Soju installs when the payment clears (1.10.5)
mikey9245de221647a1
diff --git a/README.ko.md b/README.ko.mdindex 02891515d33..31a10e044a0 100644--- a/README.ko.md+++ b/README.ko.md@@ -83,7 +83,7 @@ soju install # 이후: soju battlenet / soju d2r / soju steam / soju epic /설치기는 **다운로드 전에 원하는 런처부터 선택**합니다. Steam만 선택하면 CX 엔진과 애플 GPTK를 받지 않습니다. Steam 그래픽 구성요소는 SHA-256으로 검증한 뒤 Soju 전용 Wine 11.0 환경에 자동으로 설치합니다. Battle.net·Epic·GOG는 공통 CX 엔진과 사용자가 별도로 받은 애플 GPTK를 사용합니다. 각 런처의 보틀·로그인·게임은 독립적으로 유지합니다.-[Soju 맥 앱 다운로드](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip): 네이티브 앱 프리뷰에서 설치된 게임과 보유 게임, 스토어 검색, 즐겨찾기, 게임 실행, 플랫폼 관리를 한 화면에서 다룰 수 있습니다. [설치 안내와 요구 사항](docs/DESKTOP.md)을 확인해 주세요.+[Soju 맥 앱 다운로드](https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip): 네이티브 앱 프리뷰에서 설치된 게임과 보유 게임, 스토어 검색, 즐겨찾기, 게임 실행, 플랫폼 관리를 한 화면에서 다룰 수 있습니다. [설치 안내와 요구 사항](docs/DESKTOP.md)을 확인해 주세요.## 일상 명령diff --git a/README.md b/README.mdindex aeffce87aab..7f2d7c865bb 100644--- a/README.md+++ b/README.md@@ -28,7 +28,7 @@ CodeWeavers' published sources; Steam uses a separate private Wine 11 setup.Apple's proprietary GPTK/D3DMetal is downloaded separately. Games and storeclients are not included.-**Current release: [v1.10.4](https://github.com/BCD1210/soju/releases/tag/v1.10.4).**+**Current release: [v1.10.5](https://github.com/BCD1210/soju/releases/tag/v1.10.5).**The compatibility examples below were verified on M4 Pro / macOS 26.5.D2R and Hogwarts Legacy are examples of supported games, not the scope of the project.@@ -104,7 +104,7 @@ soju install # then: soju battlenet / soju d2r / soju steam / soju epic / soThe installer asks which launchers you want **before downloading anything**. Steam-only installs skip the CX engine and Apple GPTK. Steam rendering components are downloaded with SHA-256 verification and installed in a Soju-owned Wine 11.0 runtime. Battle.net, Epic and GOG use the shared CX engine and your separately downloaded Apple GPTK. Each official client keeps its own bottle and shortcut in `~/Applications`.-[Download Soju for Mac](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip): the native desktop preview includes installed and owned games, store search, favorites, game launching and platform management. See [desktop setup and requirements](docs/DESKTOP.md).+[Download Soju for Mac](https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip): the native desktop preview includes installed and owned games, store search, favorites, game launching and platform management. See [desktop setup and requirements](docs/DESKTOP.md).## Everyday commandsdiff --git a/README.zh.md b/README.zh.mdindex 8f8413b946b..45df70e7ee6 100644--- a/README.zh.md+++ b/README.zh.md@@ -87,7 +87,7 @@ soju install # 然后:soju battlenet / soju d2r / soju steam / soju epic /安装器会**先询问要安装哪些启动器,再下载对应组件**。仅选择 Steam 时,不会下载 CX 引擎或 Apple GPTK。Steam 图形组件经过 SHA-256 校验后,自动安装到 Soju 专用的 Wine 11.0 环境中。战网、Epic 和 GOG 使用共享 CX 引擎及用户单独下载的 Apple GPTK。各客户端的 bottle、账户和游戏分别保留。-[下载 Soju Mac 应用](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip):原生桌面预览版在一个窗口中管理已安装和已拥有的游戏、商店搜索、收藏、游戏启动和平台管理。[安装说明与要求](docs/DESKTOP.md)。+[下载 Soju Mac 应用](https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip):原生桌面预览版在一个窗口中管理已安装和已拥有的游戏、商店搜索、收藏、游戏启动和平台管理。[安装说明与要求](docs/DESKTOP.md)。## 日常维护diff --git a/VERSION b/VERSIONindex 18b31142065..db77e0ee976 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-1.10.4+1.10.5diff --git a/app/Store.swift b/app/Store.swiftindex 71e2b72f8c3..dd576132c72 100644--- a/app/Store.swift+++ b/app/Store.swift@@ -79,6 +79,7 @@ struct StoreCatalog: Decodable {struct StoreView: View {@EnvironmentObject var model: SojuModel@StateObject private var store = StoreModel()+ @StateObject private var purchase = PurchaseWatcher()@State private var keyFor: StoreGame?@State private var key = ""private let accent = Color(red: 0.79, green: 0.36, blue: 0.27)@@ -97,6 +98,21 @@ struct StoreView: View {Text(model.busy ? lastLine : (model.failed ? lastLine : model.activity)).font(.system(size: 12)).lineLimit(2)}}+ if let pending = purchase.pending {+ HStack(spacing: 10) {+ ProgressView().controlSize(.small)+ VStack(alignment: .leading, spacing: 2) {+ Text("Finish paying for " + pending.title + " in your browser.").font(.system(size: 12, weight: .semibold))+ Text(purchase.message.isEmpty ? "Soju installs it by itself as soon as the payment goes through." : purchase.message)+ .font(.system(size: 11)).foregroundStyle(.secondary)+ }+ Spacer()+ Button("Open checkout") { NSWorkspace.shared.open(pending.url) }+ Button("Cancel") { purchase.cancel() }+ }.padding(12).background(accent.opacity(0.1), in: RoundedRectangle(cornerRadius: 10))+ } else if !purchase.message.isEmpty {+ Text(purchase.message).font(.system(size: 12)).foregroundStyle(.secondary)+ }ScrollView {VStack(spacing: 18) {ForEach(store.games) { card($0) }@@ -106,7 +122,7 @@ struct StoreView: View {}}}- Text("Checkout is on Polar. Their receipt email has your license key; Soju keeps it in the Keychain so you only paste it once.")+ Text("Checkout is on Polar. Buy here and Soju installs the game when the payment clears; the key is also in Polar's receipt email and is kept in the Keychain.").font(.system(size: 11)).foregroundStyle(.secondary)}.padding(28).frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)@@ -144,9 +160,9 @@ struct StoreView: View {Button { model.play(game) } label: { Label("Play", systemImage: "play.fill") }.buttonStyle(.borderedProminent).tint(.green).disabled(model.launchingGames.contains(game.id))} else {- Button { if let url = StoreCatalog.safe(game.checkout, hosts: ["buy.polar.sh", "polar.sh"]) { NSWorkspace.shared.open(url) } } label: {+ Button { buy(game) } label: {Label("Buy · " + game.price, systemImage: "cart")- }.buttonStyle(.borderedProminent).tint(accent)+ }.buttonStyle(.borderedProminent).tint(accent).disabled(purchase.pending != nil)if let demo = game.demo {if let demoGame = installed(id: demo.id) {Button { model.play(demoGame) } label: { Label("Play demo", systemImage: "play") }@@ -175,12 +191,29 @@ struct StoreView: View {}.padding(18).background(Color.primary.opacity(0.04), in: RoundedRectangle(cornerRadius: 16))}+ private func buy(_ game: StoreGame) {+ purchase.start(game, fallback: StoreCatalog.safe(game.checkout, hosts: ["buy.polar.sh", "polar.sh"])) { id, title, key in+ install(id: id, title: title, key: key)+ }+ }++ /// Runs as soon as Soju is free; the key goes to the Keychain inside didim_games.py.+ private func install(id: String, title: String, key: String) {+ if model.busy {+ DispatchQueue.main.asyncAfter(deadline: .now() + 3) { install(id: id, title: title, key: key) }+ return+ }+ model.run(["didim", "activate", id], title: "Installing " + title + "…", environment: ["SOJU_DIDIM_KEY": key])+ }+private func keySheet(_ game: StoreGame) -> some View {VStack(alignment: .leading, spacing: 14) {Text("Install " + game.title).font(.system(size: 18, weight: .bold))Text("Paste the key from the Polar receipt email. It starts with DSTC-.").font(.system(size: 12)).foregroundStyle(.secondary).fixedSize(horizontal: false, vertical: true)TextField("License key", text: $key).textFieldStyle(.roundedBorder).font(.system(.body, design: .monospaced))+ Link("Lost the email? Find your key on Polar", destination: URL(string: "https://polar.sh/didim-labs/portal")!)+ .font(.system(size: 11))HStack {Spacer()Button("Cancel") { keyFor = nil }@@ -194,3 +227,76 @@ struct StoreView: View {}.padding(24).frame(width: 460)}}++/// Buying from inside Soju: the site worker opens a Polar checkout for this Soju only, and once the+/// payment clears it hands back the license key, so nobody has to copy it out of an email.+@MainActor final class PurchaseWatcher: ObservableObject {+ struct Pending: Equatable { let game: String; let title: String; let id: String; let url: URL }+ @Published var pending: Pending?+ @Published var message = ""+ private var timer: Timer?+ private var started = Date()+ private static let api = "https://didimlabs.com/api/didim/checkout"++ func start(_ game: StoreGame, fallback: URL?, ready: @escaping (String, String, String) -> Void) {+ message = "Opening checkout…"+ var request = URLRequest(url: URL(string: Self.api)!)+ request.httpMethod = "POST"+ request.setValue("application/json", forHTTPHeaderField: "Content-Type")+ request.httpBody = try? JSONSerialization.data(withJSONObject: ["game": game.id])+ request.timeoutInterval = 20+ URLSession.shared.dataTask(with: request) { data, response, _ in+ let body = data.flatMap { try? JSONSerialization.jsonObject(with: $0) as? [String: Any] }+ DispatchQueue.main.async {+ guard (response as? HTTPURLResponse)?.statusCode == 200, let id = body?["id"] as? String,+ id.range(of: "^[0-9a-f-]{36}$", options: .regularExpression) != nil,+ let link = (body?["url"] as? String).flatMap({ StoreCatalog.safe($0, hosts: ["polar.sh", "buy.polar.sh"]) }) else {+ // The old way still works: Polar emails the key.+ self.message = ""+ if let fallback { NSWorkspace.shared.open(fallback) }+ return+ }+ self.pending = Pending(game: game.id, title: game.title, id: id, url: link)+ self.message = ""+ self.started = Date()+ NSWorkspace.shared.open(link)+ self.timer?.invalidate()+ self.timer = Timer.scheduledTimer(withTimeInterval: 4, repeats: true) { [weak self] _ in+ DispatchQueue.main.async { self?.poll(ready: ready) }+ }+ }+ }.resume()+ }++ func cancel() {+ timer?.invalidate(); timer = nil; pending = nil; message = ""+ }++ private func poll(ready: @escaping (String, String, String) -> Void) {+ guard let pending else { cancel(); return }+ if Date().timeIntervalSince(started) > 45 * 60 {+ cancel(); message = "Stopped waiting for the payment. If you paid, use the key from the Polar email."+ return+ }+ var request = URLRequest(url: URL(string: Self.api + "/" + pending.id)!)+ request.cachePolicy = .reloadIgnoringLocalCacheData+ request.timeoutInterval = 15+ URLSession.shared.dataTask(with: request) { data, _, _ in+ let body = data.flatMap { try? JSONSerialization.jsonObject(with: $0) as? [String: Any] }+ DispatchQueue.main.async {+ guard self.pending == pending, let status = body?["status"] as? String else { return }+ switch status {+ case "ready":+ if let key = body?["key"] as? String, key.range(of: "^[A-Za-z0-9-]{8,100}$", options: .regularExpression) != nil {+ self.cancel()+ ready(pending.game, pending.title, key)+ }+ case "processing": self.message = "Payment received. Getting your license key…"+ case "expired", "failed":+ self.cancel(); self.message = "The checkout " + status + ". Press Buy to try again."+ default: break+ }+ }+ }.resume()+ }+}diff --git a/docs/DESKTOP.md b/docs/DESKTOP.mdindex a510973294b..7c45cc5c1dc 100644--- a/docs/DESKTOP.md+++ b/docs/DESKTOP.md@@ -1,6 +1,6 @@# Soju for Mac-[Download v1.10.4](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip)+[Download v1.10.5](https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip)1. Unzip and move **Soju.app** into Applications or ~/Applications.2. Open **Platforms** to install or open Battle.net, Steam, Epic Games or GOG GALAXY.diff --git a/docs/index.html b/docs/index.htmlindex ac293b369d2..8ad90f8e1df 100644--- a/docs/index.html+++ b/docs/index.html@@ -54,8 +54,8 @@"@id": "https://didimlabs.com/#soju","name": "Soju","url": "https://didimlabs.com/",- "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip",- "softwareVersion": "1.10.4",+ "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip",+ "softwareVersion": "1.10.5","description": "Free, open-source Mac app that installs the official Windows launchers for Steam, Battle.net, Epic Games, GOG GALAXY and Xbox PC on Apple Silicon and shows every installed game in one library.","applicationCategory": "GameApplication","operatingSystem": "macOS 14 or later, Apple Silicon (M1 or newer)",@@ -146,7 +146,7 @@<a href="ko/" lang="ko" hreflang="ko">한국어</a></div></nav><main id="main">-<link rel="preload" as="image" href="assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>Soju</h1><p class="lead">A free Mac app for playing Windows games on Apple Silicon. It installs the real Steam, Battle.net, Epic, GOG GALAXY and Xbox PC launchers, keeps each in its own Wine setup, and lists every installed game in one library.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">Download Soju 1.10.4</a><span class="meta">macOS 14+, M1 or newer · open source (GPL-3.0)</span></p><img src="assets/soju-library.png?v=20261109c" alt="Soju 1.10 library with Diablo II: Resurrected, Don't Sell the Cat, Guilt Free, Hogwarts Legacy and other installed games" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">What it does</h2><div class="features"><div class="feature"><h3>Real launchers</h3><p>Battle.net, Epic and GOG share a Wine engine built from <a href="https://www.codeweavers.com/crossover/source">CodeWeavers' sources</a> with Apple's D3DMetal. Steam gets its own Wine 11 setup with DXMT for D3D11 games.</p></div><div class="feature"><h3>One library</h3><p>Finds installed games across every launcher and imports the games you own on Steam and GOG.</p></div><div class="feature"><h3>Store search</h3><p>Searches Steam, GOG and Microsoft Store listings with prices for your region.</p></div><div class="feature"><h3>Xbox PC</h3><p>Experimental: imports owned and Game Pass games and downloads them through the <a href="https://github.com/xodus-gaming/xodus">Xodus</a> backend.</p></div></div><p>Logins, purchases and game updates stay with each store. Soju doesn't bundle games, store clients or Apple's Game Porting Toolkit.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">Games we've run</h2><p class="intro">Tested on an M4 Pro Mac with macOS 26.5. Other games may or may not work; please <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">report what you try</a>.</p><div class="table-scroll" role="region" aria-label="Tested games" tabindex="0"><table><thead><tr><th scope="col">Game</th><th scope="col">Store</th><th scope="col">Result</th></tr></thead><tbody><tr><th scope="row">Diablo II: Resurrected</th><td>Battle.net</td><td>Plays online. Needs macOS 26.4+. <a href="guides/diablo-2-resurrected-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Hogwarts Legacy</th><td>Epic</td><td>Installs and plays with D3DMetal.</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>Steam</td><td>Plays with the DXMT setup. <a href="guides/steam-windows-client-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>Reaches the main menu.</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>Login and library work; few games tried yet.</td></tr></tbody></table></div><p>Games with kernel-level anti-cheat won't run. The Steam edition of Diablo II: Resurrected hasn't been checked.</p><figure class="video"><video controls="" playsInline="" preload="none" poster="assets/soju-gameplay-demo-poster.jpg?v=20261109c" aria-label="30-second clip of Hogwarts Legacy and Guilt Free running through Soju" width="1280" height="720"><source src="assets/soju-gameplay-demo.mp4?v=20261109c" type="video/mp4"/><track kind="captions" src="assets/soju-gameplay-demo.vtt" srcLang="en" label="English" default=""/></video><figcaption>Hogwarts Legacy through Epic, Guilt Free through Steam. 30 seconds.</figcaption></figure></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Games from Didim Labs</h2><a class="game" href="games/dont-sell-the-cat.html"><img src="store/dont-sell-the-cat-wide.jpg" alt="Don't Sell the Cat: a black cat with yellow eyes on a pawnshop counter" width="920" height="430" loading="lazy"/><span class="game-body"><b>Don't Sell the Cat</b><span class="game-meta">$6.99 · Mac and Windows · about 2 hours</span><span>Seven nights at a 1958 pawnshop counter. Check items with a loupe, UV lamp, scale and the shop cat, and don't open the back shutter.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">Install</h2><ol class="steps"><li><b>Download the app</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">Soju-1.10.4-macos-arm64.zip</a>. Unzip it and move Soju to Applications. <a href="https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md">Signing notes</a>.</p></li><li><b>Pick launchers</b><p>Open Soju, go to Platforms and choose the launchers you use. Battle.net, Epic and GOG also need <a href="https://developer.apple.com/games/game-porting-toolkit/">Apple's Game Porting Toolkit</a>, which you download with your Apple ID.</p></li><li><b>Sign in and play</b><p>Sign in inside each launcher as usual. Installed games show up in the library.</p></li></ol><p>Prefer the terminal? Run the installer, or use Homebrew. You'll need Rosetta 2, the Xcode Command Line Tools and Homebrew.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash+<link rel="preload" as="image" href="assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>Soju</h1><p class="lead">A free Mac app for playing Windows games on Apple Silicon. It installs the real Steam, Battle.net, Epic, GOG GALAXY and Xbox PC launchers, keeps each in its own Wine setup, and lists every installed game in one library.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip">Download Soju 1.10.5</a><span class="meta">macOS 14+, M1 or newer · open source (GPL-3.0)</span></p><img src="assets/soju-library.png?v=20261109c" alt="Soju 1.10 library with Diablo II: Resurrected, Don't Sell the Cat, Guilt Free, Hogwarts Legacy and other installed games" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">What it does</h2><div class="features"><div class="feature"><h3>Real launchers</h3><p>Battle.net, Epic and GOG share a Wine engine built from <a href="https://www.codeweavers.com/crossover/source">CodeWeavers' sources</a> with Apple's D3DMetal. Steam gets its own Wine 11 setup with DXMT for D3D11 games.</p></div><div class="feature"><h3>One library</h3><p>Finds installed games across every launcher and imports the games you own on Steam and GOG.</p></div><div class="feature"><h3>Store search</h3><p>Searches Steam, GOG and Microsoft Store listings with prices for your region.</p></div><div class="feature"><h3>Xbox PC</h3><p>Experimental: imports owned and Game Pass games and downloads them through the <a href="https://github.com/xodus-gaming/xodus">Xodus</a> backend.</p></div></div><p>Logins, purchases and game updates stay with each store. Soju doesn't bundle games, store clients or Apple's Game Porting Toolkit.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">Games we've run</h2><p class="intro">Tested on an M4 Pro Mac with macOS 26.5. Other games may or may not work; please <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">report what you try</a>.</p><div class="table-scroll" role="region" aria-label="Tested games" tabindex="0"><table><thead><tr><th scope="col">Game</th><th scope="col">Store</th><th scope="col">Result</th></tr></thead><tbody><tr><th scope="row">Diablo II: Resurrected</th><td>Battle.net</td><td>Plays online. Needs macOS 26.4+. <a href="guides/diablo-2-resurrected-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Hogwarts Legacy</th><td>Epic</td><td>Installs and plays with D3DMetal.</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>Steam</td><td>Plays with the DXMT setup. <a href="guides/steam-windows-client-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>Reaches the main menu.</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>Login and library work; few games tried yet.</td></tr></tbody></table></div><p>Games with kernel-level anti-cheat won't run. The Steam edition of Diablo II: Resurrected hasn't been checked.</p><figure class="video"><video controls="" playsInline="" preload="none" poster="assets/soju-gameplay-demo-poster.jpg?v=20261109c" aria-label="30-second clip of Hogwarts Legacy and Guilt Free running through Soju" width="1280" height="720"><source src="assets/soju-gameplay-demo.mp4?v=20261109c" type="video/mp4"/><track kind="captions" src="assets/soju-gameplay-demo.vtt" srcLang="en" label="English" default=""/></video><figcaption>Hogwarts Legacy through Epic, Guilt Free through Steam. 30 seconds.</figcaption></figure></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Games from Didim Labs</h2><a class="game" href="games/dont-sell-the-cat.html"><img src="store/dont-sell-the-cat-wide.jpg" alt="Don't Sell the Cat: a black cat with yellow eyes on a pawnshop counter" width="920" height="430" loading="lazy"/><span class="game-body"><b>Don't Sell the Cat</b><span class="game-meta">$6.99 · Mac and Windows · about 2 hours</span><span>Seven nights at a 1958 pawnshop counter. Check items with a loupe, UV lamp, scale and the shop cat, and don't open the back shutter.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">Install</h2><ol class="steps"><li><b>Download the app</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip">Soju-1.10.5-macos-arm64.zip</a>. Unzip it and move Soju to Applications. <a href="https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md">Signing notes</a>.</p></li><li><b>Pick launchers</b><p>Open Soju, go to Platforms and choose the launchers you use. Battle.net, Epic and GOG also need <a href="https://developer.apple.com/games/game-porting-toolkit/">Apple's Game Porting Toolkit</a>, which you download with your Apple ID.</p></li><li><b>Sign in and play</b><p>Sign in inside each launcher as usual. Installed games show up in the library.</p></li></ol><p>Prefer the terminal? Run the installer, or use Homebrew. You'll need Rosetta 2, the Xcode Command Line Tools and Homebrew.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash# orbrew install BCD1210/soju/sojudiff --git a/docs/ko/index.html b/docs/ko/index.htmlindex 851ca88db10..f926a3e7c5e 100644--- a/docs/ko/index.html+++ b/docs/ko/index.html@@ -88,7 +88,7 @@<a href="../" lang="en" hreflang="en">English</a></div></nav><main id="main">-<link rel="preload" as="image" href="../assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="../assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="../assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>소주 (Soju)</h1><p class="lead">애플 실리콘 맥에서 윈도우 게임을 하기 위한 무료 맥 앱입니다. 진짜 스팀, 배틀넷, 에픽, GOG GALAXY, Xbox PC 런처를 각각 따로 된 Wine 환경에 설치하고, 설치된 게임을 한 라이브러리에 모아 보여 줍니다.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">소주 1.10.4 다운로드</a><span class="meta">macOS 14 이상, M1 이상 · 오픈소스(GPL-3.0)</span></p><img src="../assets/soju-library.png?v=20261109c" alt="디아블로 II: 레저렉션, 고양이는 팔지 마세요, Guilt Free, 호그와트 레거시가 있는 소주 1.10 라이브러리" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">하는 일</h2><div class="features"><div class="feature"><h3>진짜 런처</h3><p>배틀넷·에픽·GOG는 <a href="https://www.codeweavers.com/crossover/source">CodeWeavers 소스</a>로 만든 Wine 엔진과 애플 D3DMetal을 같이 씁니다. 스팀은 D3D11 게임용 DXMT가 들어간 Wine 11 환경을 따로 씁니다.</p></div><div class="feature"><h3>라이브러리 하나</h3><p>모든 런처에 설치된 게임을 찾고, 스팀과 GOG에서 산 게임 목록을 가져옵니다.</p></div><div class="feature"><h3>스토어 검색</h3><p>스팀, GOG, 마이크로소프트 스토어를 지역 가격으로 검색합니다.</p></div><div class="feature"><h3>Xbox PC</h3><p>실험 기능입니다. 보유 게임과 게임 패스 게임을 가져와 Xodus 백엔드로 내려받습니다.</p></div></div><p>로그인, 구매, 게임 업데이트는 각 스토어가 그대로 맡습니다. 소주는 게임, 스토어 프로그램, 애플 게임 포팅 툴킷을 포함하지 않습니다.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">직접 실행해 본 게임</h2><p class="intro">M4 Pro 맥, macOS 26.5에서 확인했습니다. 다른 게임은 해 보기 전에는 모릅니다. <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">결과를 알려 주세요</a>.</p><div class="table-scroll" role="region" aria-label="실행한 게임" tabindex="0"><table><thead><tr><th scope="col">게임</th><th scope="col">스토어</th><th scope="col">결과</th></tr></thead><tbody><tr><th scope="row">디아블로 II: 레저렉션</th><td>배틀넷</td><td>온라인 플레이 됨. macOS 26.4 이상. <a href="../guides/ko/diablo-2-mac.html">가이드</a></td></tr><tr><th scope="row">호그와트 레거시</th><td>에픽</td><td>D3DMetal로 설치·플레이 됨</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>스팀</td><td>DXMT 설정으로 플레이 됨</td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>메인 화면까지 실행</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>로그인·라이브러리 됨, 게임은 아직 조금만 시험</td></tr></tbody></table></div><p>커널 안티치트를 쓰는 게임은 실행되지 않습니다.</p></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Didim Labs 게임</h2><a class="game" href="../games/dont-sell-the-cat.html#ko"><img src="../store/dont-sell-the-cat-wide.jpg" alt="고양이는 팔지 마세요: 전당포 카운터 위의 노란 눈 검은 고양이" width="920" height="430" loading="lazy"/><span class="game-body"><b>고양이는 팔지 마세요</b><span class="game-meta">$6.99 · 맥·윈도우 · 약 2시간</span><span>1958년 전당포 야간 카운터에서 보내는 일곱 밤. 확대경, UV 램프, 저울, 가게 고양이로 물건을 확인하고, 뒷문 셔터는 열지 마세요.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">설치</h2><ol class="steps"><li><b>앱 받기</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">Soju-1.10.4-macos-arm64.zip</a>을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다.</p></li><li><b>런처 고르기</b><p>소주를 열고 Platforms에서 쓰는 런처를 고릅니다. 배틀넷·에픽·GOG는 애플 ID로 직접 받은 <a href="https://developer.apple.com/games/game-porting-toolkit/">게임 포팅 툴킷</a>도 필요합니다.</p></li><li><b>로그인하고 플레이</b><p>각 런처에서 평소처럼 로그인하면 설치된 게임이 라이브러리에 나타납니다.</p></li></ol><p>터미널이 편하면 설치 스크립트나 Homebrew를 쓰세요. Rosetta 2, Xcode Command Line Tools, Homebrew가 필요합니다.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash+<link rel="preload" as="image" href="../assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="../assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="../assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>소주 (Soju)</h1><p class="lead">애플 실리콘 맥에서 윈도우 게임을 하기 위한 무료 맥 앱입니다. 진짜 스팀, 배틀넷, 에픽, GOG GALAXY, Xbox PC 런처를 각각 따로 된 Wine 환경에 설치하고, 설치된 게임을 한 라이브러리에 모아 보여 줍니다.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip">소주 1.10.5 다운로드</a><span class="meta">macOS 14 이상, M1 이상 · 오픈소스(GPL-3.0)</span></p><img src="../assets/soju-library.png?v=20261109c" alt="디아블로 II: 레저렉션, 고양이는 팔지 마세요, Guilt Free, 호그와트 레거시가 있는 소주 1.10 라이브러리" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">하는 일</h2><div class="features"><div class="feature"><h3>진짜 런처</h3><p>배틀넷·에픽·GOG는 <a href="https://www.codeweavers.com/crossover/source">CodeWeavers 소스</a>로 만든 Wine 엔진과 애플 D3DMetal을 같이 씁니다. 스팀은 D3D11 게임용 DXMT가 들어간 Wine 11 환경을 따로 씁니다.</p></div><div class="feature"><h3>라이브러리 하나</h3><p>모든 런처에 설치된 게임을 찾고, 스팀과 GOG에서 산 게임 목록을 가져옵니다.</p></div><div class="feature"><h3>스토어 검색</h3><p>스팀, GOG, 마이크로소프트 스토어를 지역 가격으로 검색합니다.</p></div><div class="feature"><h3>Xbox PC</h3><p>실험 기능입니다. 보유 게임과 게임 패스 게임을 가져와 Xodus 백엔드로 내려받습니다.</p></div></div><p>로그인, 구매, 게임 업데이트는 각 스토어가 그대로 맡습니다. 소주는 게임, 스토어 프로그램, 애플 게임 포팅 툴킷을 포함하지 않습니다.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">직접 실행해 본 게임</h2><p class="intro">M4 Pro 맥, macOS 26.5에서 확인했습니다. 다른 게임은 해 보기 전에는 모릅니다. <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">결과를 알려 주세요</a>.</p><div class="table-scroll" role="region" aria-label="실행한 게임" tabindex="0"><table><thead><tr><th scope="col">게임</th><th scope="col">스토어</th><th scope="col">결과</th></tr></thead><tbody><tr><th scope="row">디아블로 II: 레저렉션</th><td>배틀넷</td><td>온라인 플레이 됨. macOS 26.4 이상. <a href="../guides/ko/diablo-2-mac.html">가이드</a></td></tr><tr><th scope="row">호그와트 레거시</th><td>에픽</td><td>D3DMetal로 설치·플레이 됨</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>스팀</td><td>DXMT 설정으로 플레이 됨</td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>메인 화면까지 실행</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>로그인·라이브러리 됨, 게임은 아직 조금만 시험</td></tr></tbody></table></div><p>커널 안티치트를 쓰는 게임은 실행되지 않습니다.</p></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Didim Labs 게임</h2><a class="game" href="../games/dont-sell-the-cat.html#ko"><img src="../store/dont-sell-the-cat-wide.jpg" alt="고양이는 팔지 마세요: 전당포 카운터 위의 노란 눈 검은 고양이" width="920" height="430" loading="lazy"/><span class="game-body"><b>고양이는 팔지 마세요</b><span class="game-meta">$6.99 · 맥·윈도우 · 약 2시간</span><span>1958년 전당포 야간 카운터에서 보내는 일곱 밤. 확대경, UV 램프, 저울, 가게 고양이로 물건을 확인하고, 뒷문 셔터는 열지 마세요.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">설치</h2><ol class="steps"><li><b>앱 받기</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip">Soju-1.10.5-macos-arm64.zip</a>을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다.</p></li><li><b>런처 고르기</b><p>소주를 열고 Platforms에서 쓰는 런처를 고릅니다. 배틀넷·에픽·GOG는 애플 ID로 직접 받은 <a href="https://developer.apple.com/games/game-porting-toolkit/">게임 포팅 툴킷</a>도 필요합니다.</p></li><li><b>로그인하고 플레이</b><p>각 런처에서 평소처럼 로그인하면 설치된 게임이 라이브러리에 나타납니다.</p></li></ol><p>터미널이 편하면 설치 스크립트나 Homebrew를 쓰세요. Rosetta 2, Xcode Command Line Tools, Homebrew가 필요합니다.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash# 또는brew install BCD1210/soju/sojudiff --git a/docs/llms.txt b/docs/llms.txtindex 7da730ebd33..b6c4d159fde 100644--- a/docs/llms.txt+++ b/docs/llms.txt@@ -5,7 +5,7 @@## Soju- [Soju home](https://didimlabs.com/): what Soju does, tested games, install steps, FAQ- [Soju in Korean / 소주 한국어](https://didimlabs.com/ko/)-- [Source code and releases](https://github.com/BCD1210/soju): GPL-3.0-or-later; current version 1.10.4+- [Source code and releases](https://github.com/BCD1210/soju): GPL-3.0-or-later; current version 1.10.5- Supported launchers: Steam, Battle.net, Epic Games, GOG GALAXY, Xbox PC (experimental). Needs an Apple Silicon Mac (M1 or newer) and macOS 14+; Steam games need macOS 26+; Diablo II: Resurrected needs macOS 26.4+.- Tested on M4 Pro / macOS 26.5: Diablo II: Resurrected (Battle.net, online), Hogwarts Legacy (Epic, D3DMetal), Guilt Free (Steam, DXMT). Kernel anti-cheat games do not run.- Install: `curl -fsSL https://didimlabs.com/install.sh | bash` or `brew install BCD1210/soju/soju`diff --git a/docs/store/thanks.html b/docs/store/thanks.htmlnew file mode 100644index 00000000000..e9a1842af2c--- /dev/null+++ b/docs/store/thanks.html@@ -0,0 +1,34 @@+<!DOCTYPE html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Thanks for your purchase | Didim Labs</title>+<meta name="description" content="Your purchase went through.">+<meta name="robots" content="noindex">+<meta property="og:site_name" content="Didim Labs">+<meta property="og:title" content="Thanks for your purchase | Didim Labs">+<meta property="og:description" content="Your purchase went through.">+<meta property="og:type" content="website">+<meta name="twitter:card" content="summary_large_image">+<meta name="theme-color" content="#121413">+<link rel="icon" href="../assets/favicon.png?v=20261109c">+<link rel="apple-touch-icon" href="../assets/apple-touch-icon.png?v=20261109c">+<link rel="stylesheet" href="../style.css?v=20261109c">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<nav aria-label="Main"><div class="inner">+ <a class="brand" href="../"><img src="../assets/soju-logo-64.png?v=20261109c" width="28" height="28" alt="">Soju<span> by Didim Labs</span></a>+ <a href="../">Soju</a>+ <a href="../games/dont-sell-the-cat.html">Games</a>+ <a href="../ko/" lang="ko" hreflang="ko">한국어</a>+</div></nav>+<main id="main">+<header class="hero"><h1>Thanks, it's yours</h1><p class="lead">If you bought it from Soju, go back to Soju. It installs the game by itself as soon as the payment clears, usually within a minute.</p></header><section><h2>Bought on the website?</h2><p>Your license key is in the receipt email from Polar. In Soju, open <strong>Didim Labs Store</strong>, press <strong>I have a key</strong> and paste it. The Windows download is linked in the same email.</p></section><section><h2>구매 감사합니다</h2><p>소주에서 사셨다면 소주로 돌아가세요. 결제가 끝나면 1분 안에 알아서 설치됩니다. 웹사이트에서 사셨다면 Polar 영수증 메일에 있는 라이선스 키를 소주의 <strong>Didim Labs Store → I have a key</strong>에 붙여 넣으세요.</p></section><p class="note">Lost the email? Sign in at <a href="https://polar.sh/didim-labs/portal">polar.sh/didim-labs/portal</a> with your purchase email to see your key and downloads.</p>+</main>+<footer><div class="inner">+<p><span>Didim Labs · <a href="mailto:[email protected]">[email protected]</a></span></p>+</div></footer>+</body>+</html>diff --git a/site-worker/worker.js b/site-worker/worker.jsindex 660e7ddd43d..40c48d714b7 100644--- a/site-worker/worker.js+++ b/site-worker/worker.js@@ -6,6 +6,11 @@// license key (sold through Polar) into a short-lived download link. Needs the POLAR_TOKEN secret// (organization token with license_keys:read and customer_sessions:write) on the didimlabs.com worker.//+// In-app purchase without copying a key (the token also needs checkouts:read and checkouts:write):+// POST /api/didim/checkout {"game": "<id>"} -> {"id", "url"}: Soju opens url in the browser.+// GET /api/didim/checkout/<id> -> {"status": "open" | "processing" | "ready" | "expired" | "failed", "key"?}+// Soju polls until "ready", then installs with the key. The checkout id is only known to that Soju.+//// POST /api/sponsor/inquiry (form fields name, email, company, message) mails an advertising inquiry// through the MAILER send_email binding to the SPONSOR_TO secret (a verified Email Routing address).import { EmailMessage } from "cloudflare:email";@@ -15,6 +20,7 @@ const ORG = "e7dd3a2e-a0ac-4b52-ad53-b7c7d7064420";// Game ID (soju-game.json) -> the Polar benefits that grant it.const GAMES = {"dont-sell-the-cat": {+ product: "d1151bb7-78f2-4328-b4b1-bf3a7ae86abc",license: "e8fc1b75-2c42-4808-9486-14aab05e3bdb",download: "4c51886f-92d5-4620-868e-ce6aeb01adfb",},@@ -64,6 +70,60 @@ async function download(request, env) {});}+const polar = (env, path, init = {}) => fetch(POLAR + path, {+ ...init, headers: { "content-type": "application/json", authorization: "Bearer " + env.POLAR_TOKEN, ...(init.headers || {}) },+});+let checkoutMinute = 0, checkoutsThisMinute = 0;++async function startCheckout(request, env) {+ if (request.method !== "POST") return json({ error: "Use POST." }, 405);+ if (!env.POLAR_TOKEN) return json({ error: "The store is not configured yet." }, 503);+ let input;+ try { input = await request.json(); } catch { return json({ error: "Send JSON." }, 400); }+ const id = input && input.game;+ const game = Object.hasOwn(GAMES, id) ? GAMES[id] : null;+ if (!game || !game.product) return json({ error: "Unknown game." }, 404);+ const minute = Math.floor(Date.now() / 60000);+ if (minute !== checkoutMinute) { checkoutMinute = minute; checkoutsThisMinute = 0; }+ if (++checkoutsThisMinute > 30) return json({ error: "Too many checkouts right now. Try again in a minute." }, 429);+ const res = await polar(env, "/checkouts/", {+ method: "POST",+ body: JSON.stringify({+ products: [game.product],+ success_url: "https://" + HOME + "/store/thanks.html?checkout_id={CHECKOUT_ID}",+ metadata: { source: "soju", game: id },+ }),+ });+ if (!res.ok) return json({ error: "The store could not start the checkout. Try again shortly." }, 502);+ const checkout = await res.json();+ return json({ id: checkout.id, url: checkout.url });+}++async function checkoutStatus(env, checkoutId) {+ if (!env.POLAR_TOKEN) return json({ error: "The store is not configured yet." }, 503);+ const res = await polar(env, "/checkouts/" + checkoutId);+ if (res.status === 404 || res.status === 422) return json({ error: "Unknown checkout." }, 404);+ if (!res.ok) return json({ error: "The store could not check the payment." }, 502);+ const checkout = await res.json();+ const productIds = [checkout.product_id, ...(checkout.products || []).map((p) => p.id)];+ const game = Object.values(GAMES).find((g) => g.product && productIds.includes(g.product));+ if (!game) return json({ error: "Unknown checkout." }, 404);+ if (checkout.status === "expired" || checkout.status === "failed") return json({ status: checkout.status });+ if (checkout.status !== "succeeded" || !checkout.customer_id) {+ return json({ status: checkout.status === "confirmed" || checkout.status === "succeeded" ? "processing" : "open" });+ }+ // The license key is granted a few seconds after the payment; until then the answer is "processing".+ for (let page = 1; page <= 20; page++) {+ const list = await polar(env, `/license-keys/?organization_id=${ORG}&benefit_id=${game.license}&limit=100&page=${page}`);+ if (!list.ok) return json({ error: "The store could not find the license key yet." }, 502);+ const body = await list.json();+ const found = (body.items || []).find((k) => k.customer_id === checkout.customer_id && k.status === "granted");+ if (found) return json({ status: "ready", key: found.key });+ if (page >= ((body.pagination && body.pagination.max_page) || 1)) break;+ }+ return json({ status: "processing" });+}+const clean = (v, max) => String(v ?? "").replace(/[\u0000-\u0008\u000b-\u001f\u007f]/g, "").trim().slice(0, max);const b64 = (text) => btoa(String.fromCharCode(...new TextEncoder().encode(text)));let lastMinute = 0, sentThisMinute = 0;@@ -116,6 +176,9 @@ export default {return Response.redirect("https://" + HOME + url.pathname + url.search, 301);}if (url.pathname === "/api/didim/download") return download(request, env);+ if (url.pathname === "/api/didim/checkout") return startCheckout(request, env);+ const checkoutPath = url.pathname.match(/^\/api\/didim\/checkout\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/);+ if (checkoutPath) return request.method === "GET" ? checkoutStatus(env, checkoutPath[1]) : json({ error: "Use GET." }, 405);if (url.pathname === "/api/sponsor/inquiry") return inquiry(request, env);const upstream = new URL("https://bcd1210.github.io/soju" + url.pathname + url.search);const res = await fetch(upstream, { headers: { "User-Agent": "soju-site" }, cf: { cacheTtlByStatus: { "200-299": 300, "300-599": 0 } } });diff --git a/site/content/index.json b/site/content/index.jsonindex ab11f0cd646..9db06099e31 100644--- a/site/content/index.json+++ b/site/content/index.json@@ -90,8 +90,8 @@"@id": "https://didimlabs.com/#soju","name": "Soju","url": "https://didimlabs.com/",- "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip",- "softwareVersion": "1.10.4",+ "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip",+ "softwareVersion": "1.10.5","description": "Free, open-source Mac app that installs the official Windows launchers for Steam, Battle.net, Epic Games, GOG GALAXY and Xbox PC on Apple Silicon and shows every installed game in one library.","applicationCategory": "GameApplication","operatingSystem": "macOS 14 or later, Apple Silicon (M1 or newer)",@@ -120,8 +120,8 @@"lead": "A free Mac app for playing Windows games on Apple Silicon. It installs the real Steam, Battle.net, Epic, GOG GALAXY and Xbox PC launchers, keeps each in its own Wine setup, and lists every installed game in one library.","actions": [{- "label": "Download Soju 1.10.4",- "href": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip",+ "label": "Download Soju 1.10.5",+ "href": "https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip","primary": true}],@@ -274,7 +274,7 @@"items": [{"title": "Download the app",- "text": "[Soju-1.10.4-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip). Unzip it and move Soju to Applications. [Signing notes](https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md)."+ "text": "[Soju-1.10.5-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip). Unzip it and move Soju to Applications. [Signing notes](https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md)."},{"title": "Pick launchers",diff --git a/site/content/ko.json b/site/content/ko.jsonindex 2cad4c5ddae..40d40f187b8 100644--- a/site/content/ko.json+++ b/site/content/ko.json@@ -64,8 +64,8 @@"lead": "애플 실리콘 맥에서 윈도우 게임을 하기 위한 무료 맥 앱입니다. 진짜 스팀, 배틀넷, 에픽, GOG GALAXY, Xbox PC 런처를 각각 따로 된 Wine 환경에 설치하고, 설치된 게임을 한 라이브러리에 모아 보여 줍니다.","actions": [{- "label": "소주 1.10.4 다운로드",- "href": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip",+ "label": "소주 1.10.5 다운로드",+ "href": "https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip","primary": true}],@@ -208,7 +208,7 @@"items": [{"title": "앱 받기",- "text": "[Soju-1.10.4-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip)을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다."+ "text": "[Soju-1.10.5-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.5/Soju-1.10.5-macos-arm64.zip)을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다."},{"title": "런처 고르기",diff --git a/site/content/thanks.json b/site/content/thanks.jsonnew file mode 100644index 00000000000..fc06d23cab2--- /dev/null+++ b/site/content/thanks.json@@ -0,0 +1,20 @@+{+ "out": "store/thanks.html",+ "lang": "en",+ "base": "../",+ "noindex": true,+ "title": "Thanks for your purchase | Didim Labs",+ "description": "Your purchase went through.",+ "nav": [{"label": "Soju", "href": "../"}, {"label": "Games", "href": "../games/dont-sell-the-cat.html"}, {"label": "한국어", "href": "../ko/", "lang": "ko"}],+ "footer": ["Didim Labs · [[email protected]](mailto:[email protected])"],+ "body": [+ {"type": "Hero", "props": {"title": "Thanks, it's yours", "lead": "If you bought it from Soju, go back to Soju. It installs the game by itself as soon as the payment clears, usually within a minute."}},+ {"type": "Section", "props": {"title": "Bought on the website?"}, "children": [+ {"type": "Text", "props": {"text": "Your license key is in the receipt email from Polar. In Soju, open **Didim Labs Store**, press **I have a key** and paste it. The Windows download is linked in the same email."}}+ ]},+ {"type": "Section", "props": {"title": "구매 감사합니다"}, "children": [+ {"type": "Text", "props": {"text": "소주에서 사셨다면 소주로 돌아가세요. 결제가 끝나면 1분 안에 알아서 설치됩니다. 웹사이트에서 사셨다면 Polar 영수증 메일에 있는 라이선스 키를 소주의 **Didim Labs Store → I have a key**에 붙여 넣으세요."}}+ ]},+ {"type": "Note", "props": {"text": "Lost the email? Sign in at [polar.sh/didim-labs/portal](https://polar.sh/didim-labs/portal) with your purchase email to see your key and downloads."}}+ ]+}