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.

Keep Python bytecode out of the signed app bundle (#35)

Mikekac33302b5038
diff --git a/README.ko.md b/README.ko.md
index 410ca627d11..2f4910c1424 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -1,7 +1,7 @@
# Soju (한국어)
-**1.6.0 추가:** Steam 공식 로그인으로 보유 게임 가져오기(API 키 불필요), GOG Galaxy 로컬 보유 목록 가져오기, Steam·GOG 상품/가격 검색과 공식 스토어 연결. [설정 안내](docs/ACCOUNTS.md).
-**v1.6.0:** 설치된 게임을 한 라이브러리에서 검색·필터·즐겨찾기하고 실행할 수 있습니다. 런처 설치와 업데이트는 Platforms에서 관리합니다. Steam·GOG 보유 게임을 가져오고 Discover에서 상품과 가격을 검색할 수 있습니다. Epic·Battle.net 전체 보유 목록 연동은 아직 지원하지 않습니다.
+**1.6.1 추가:** Steam 공식 로그인으로 보유 게임 가져오기(API 키 불필요), GOG Galaxy 로컬 보유 목록 가져오기, Steam·GOG 상품/가격 검색과 공식 스토어 연결. [설정 안내](docs/ACCOUNTS.md).
+**v1.6.1:** 설치된 게임을 한 라이브러리에서 검색·필터·즐겨찾기하고 실행할 수 있습니다. 런처 설치와 업데이트는 Platforms에서 관리합니다. Steam·GOG 보유 게임을 가져오고 Discover에서 상품과 가격을 검색할 수 있습니다. Epic·Battle.net 전체 보유 목록 연동은 아직 지원하지 않습니다.
[Desktop / download](docs/DESKTOP.md)
diff --git a/README.md b/README.md
index 121fc7ccf03..89a415c3955 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ CodeWeavers' published sources; Steam uses a separate wine-stable setup.
Apple's proprietary GPTK/D3DMetal is downloaded separately. Games and store
clients are not included.
-**Current release: [v1.6.0](https://github.com/BCD1210/soju/releases/tag/v1.6.0).**
+**Current release: [v1.6.1](https://github.com/BCD1210/soju/releases/tag/v1.6.1).**
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.
@@ -91,7 +91,7 @@ soju install # then: soju battlenet / soju d2r / soju steam / soju epic / so
The 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.6.0/Soju-1.6.0-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.6.1/Soju-1.6.1-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 commands
diff --git a/README.zh.md b/README.zh.md
index 9f511084a67..f4cc093dea9 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -1,7 +1,7 @@
# Soju(简体中文)
-**1.6.0 新增:** 通过 Steam 官方登录导入已购游戏(无需 API 密钥)、GOG Galaxy 本地游戏库导入,以及 Steam/GOG 商店搜索与官方购买链接。[设置说明](docs/ACCOUNTS.md)。
-**v1.6.0:** 在统一游戏库中搜索、筛选、收藏和启动已安装的游戏。通过 Platforms 管理启动器安装与更新。支持导入 Steam/GOG 已购游戏,并在 Discover 中搜索商品与价格。暂不支持 Epic/Battle.net 的完整账户游戏库导入。
+**1.6.1 新增:** 通过 Steam 官方登录导入已购游戏(无需 API 密钥)、GOG Galaxy 本地游戏库导入,以及 Steam/GOG 商店搜索与官方购买链接。[设置说明](docs/ACCOUNTS.md)。
+**v1.6.1:** 在统一游戏库中搜索、筛选、收藏和启动已安装的游戏。通过 Platforms 管理启动器安装与更新。支持导入 Steam/GOG 已购游戏,并在 Discover 中搜索商品与价格。暂不支持 Epic/Battle.net 的完整账户游戏库导入。
[Desktop / download](docs/DESKTOP.md)
diff --git a/VERSION b/VERSION
index dc1e644a101..9c6d6293b1a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.6.0
+1.6.1
diff --git a/app/Accounts.swift b/app/Accounts.swift
index 9ac7de7ce38..3fb9fe3b4af 100644
--- a/app/Accounts.swift
+++ b/app/Accounts.swift
@@ -30,7 +30,7 @@ enum ServiceBridge {
p.executableURL = URL(fileURLWithPath: "/usr/bin/env")
p.arguments = ["python3", root.appendingPathComponent("scripts/library-service.py").path] + args
p.environment = ["PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin", "HOME": FileManager.default.homeDirectoryForCurrentUser.path,
- "SOJU_BASE": base.path, "PYTHONIOENCODING": "utf-8"]
+ "SOJU_BASE": base.path, "PYTHONIOENCODING": "utf-8", "PYTHONDONTWRITEBYTECODE": "1"]
p.standardInput = pipe; p.standardOutput = output; p.standardError = FileHandle.nullDevice
p.terminationHandler = { process in
defer { try? FileManager.default.removeItem(at: url) }
diff --git a/app/Soju.swift b/app/Soju.swift
index b41747155af..e70562c05a7 100644
--- a/app/Soju.swift
+++ b/app/Soju.swift
@@ -83,6 +83,7 @@ enum Launcher: String, CaseIterable, Identifiable {
env["PATH"] = "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
env["SOJU_BASE"] = base.path
env["SOJU_NONINTERACTIVE"] = "1"
+ env["PYTHONDONTWRITEBYTECODE"] = "1"
env["TERM"] = "dumb"
for key in ["ENGINE", "WINEPREFIX", "WINEDLLOVERRIDES", "DYLD_FALLBACK_LIBRARY_PATH"] { env.removeValue(forKey: key) }
p.environment = env
diff --git a/docs/DESKTOP.md b/docs/DESKTOP.md
index 664c0369b4d..9419ba74812 100644
--- a/docs/DESKTOP.md
+++ b/docs/DESKTOP.md
@@ -1,6 +1,6 @@
# Soju for Mac
-[Download v1.6.0](https://github.com/BCD1210/soju/releases/download/v1.6.0/Soju-1.6.0-macos-arm64.zip)
+[Download v1.6.1](https://github.com/BCD1210/soju/releases/download/v1.6.1/Soju-1.6.1-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.html
index 1ae7bf388c9..c8b947ddf40 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -100,7 +100,7 @@ its own login, purchases, downloads and game updates.</p>
<section id="install" aria-labelledby="install-title">
<h2 id="install-title">Choose your launchers. Get set up.</h2>
-<p><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.6.0/Soju-1.6.0-macos-arm64.zip">Download Soju for Mac</a></p>
+<p><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.6.1/Soju-1.6.1-macos-arm64.zip">Download Soju for Mac</a></p>
<p>The native desktop preview combines installed and imported owned games, searches stores and manages all four launchers.
Apple Silicon · app UI: macOS 14+ · Steam component build: macOS 26+.
<a href="https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md">Setup and signing notes</a>.</p>