diff --git a/NOTICE.md b/NOTICE.md
index 3756afa..0ac0a7c 100644
--- a/NOTICE.md
+++ b/NOTICE.md
@@ -5,7 +5,7 @@ License, Version 2.0 (see `LICENSE`). That license applies to Reims-Go's own cod
only and is separate from the portable runtime bundle it invokes as an external
child process. Compatibility patches in the runtime repository are licensed
under terms compatible with their target upstream projects (see [runtime patch
-licenses](https://github.com/yxc0915/reims-vgpu/blob/master/packaging/windows-runtime/patches/LICENSE)).
+licenses](https://github.com/reims-go/reims-vgpu/blob/master/packaging/windows-runtime/patches/LICENSE)).
The Reims-Go desktop executable also incorporates open-source Go and frontend
libraries (including Wails, React, Radix UI, Lucide, Inter font, Go `golang.org/x`
diff --git a/README.md b/README.md
index c735e32..83da74e 100644
--- a/README.md
+++ b/README.md
@@ -121,7 +121,7 @@ reims-go vm start macos-tahoe | Out-Host # Start the VM
Build from source
-With Go 1.26+, Node.js 22, pnpm 10 and the [Wails CLI](https://wails.io/docs/gettingstarted/installation) v2.17.1, run `wails build` in the repository root; the binary is written to `build\bin\reims-go.exe`. The runtime is built separately by the [Reims vGPU fork](https://github.com/yxc0915/reims-vgpu).
+With Go 1.26+, Node.js 22, pnpm 10 and the [Wails CLI](https://wails.io/docs/gettingstarted/installation) v2.17.1, run `wails build` in the repository root; the binary is written to `build\bin\reims-go.exe`. The runtime is built separately by the [Reims vGPU fork](https://github.com/reims-go/reims-vgpu).
diff --git a/README.zh-CN.md b/README.zh-CN.md
index b044bfe..93b42d0 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -117,7 +117,7 @@ reims-go vm start macos-tahoe | Out-Host # 启动虚拟机
从源码构建
-需要 Go 1.26+、Node.js 22、pnpm 10 和 [Wails CLI](https://wails.io/docs/gettingstarted/installation) v2.17.1,在仓库根目录运行 `wails build`,产物在 `build\bin\reims-go.exe`。运行时由 [Reims vGPU fork](https://github.com/yxc0915/reims-vgpu) 单独构建。
+需要 Go 1.26+、Node.js 22、pnpm 10 和 [Wails CLI](https://wails.io/docs/gettingstarted/installation) v2.17.1,在仓库根目录运行 `wails build`,产物在 `build\bin\reims-go.exe`。运行时由 [Reims vGPU fork](https://github.com/reims-go/reims-vgpu) 单独构建。
diff --git a/changes/runtime-releases-repo.json b/changes/runtime-releases-repo.json
new file mode 100644
index 0000000..e5a863d
--- /dev/null
+++ b/changes/runtime-releases-repo.json
@@ -0,0 +1,9 @@
+{
+ "group": "improvements",
+ "order": 0,
+ "authors": [
+ "Nwflower"
+ ],
+ "zh": "运行时改从 `reims-go/reims-vgpu` 下载。`REIMS_GO_RELEASES_REPO` 现在只影响应用更新,运行时仓库改用 `REIMS_GO_RUNTIME_RELEASES_REPO` 指定。",
+ "en": "Runtimes are now downloaded from `reims-go/reims-vgpu`. `REIMS_GO_RELEASES_REPO` now only affects app updates; set the runtime repository with `REIMS_GO_RUNTIME_RELEASES_REPO`."
+}
diff --git a/docs/pr-review-guidelines.md b/docs/pr-review-guidelines.md
index dbee270..bde5a12 100644
--- a/docs/pr-review-guidelines.md
+++ b/docs/pr-review-guidelines.md
@@ -10,12 +10,12 @@
| :--- | :--- | :--- |
| 客户端 | GUI、CLI、虚拟机流程编排、宿主机体检及窗口集成、Guest Tools、运行时下载和安装 | `Reims-Go`。主要入口和模块见[系统架构](architecture.md)。 |
| 客户端运行时适配 | 构造命令和环境、调用已发布的 CLI / QMP 接口、解析结果以及处理版本、能力或错误 | `Reims-Go`。生效行为仍由被调用的组件实现。 |
-| Reims vGPU 内核及控制工具 | `reims-ctl` 的配置、启动与参数语义,`reims-restore` 的恢复流程,Reims 的宿主图形、原生 VM 窗口及输入实现 | [`steelbrain/reims-vgpu`](https://github.com/steelbrain/reims-vgpu)。运行时所用改动以 [Reims vGPU fork](https://github.com/yxc0915/reims-vgpu) 的实际构建提交为准。 |
+| Reims vGPU 内核及控制工具 | `reims-ctl` 的配置、启动与参数语义,`reims-restore` 的恢复流程,Reims 的宿主图形、原生 VM 窗口及输入实现 | [`steelbrain/reims-vgpu`](https://github.com/steelbrain/reims-vgpu)。运行时所用改动以 [Reims vGPU fork](https://github.com/reims-go/reims-vgpu) 的实际构建提交为准。 |
| QEMU 虚拟化层 | WHPX / TCG、客体机器与设备模型、`reims-graphics-pci` 的 PCI 设备侧、QMP 命令实现、`qcow2` 格式与迁移机制 | [`steelbrain/qemu-reims-vgpu`](https://github.com/steelbrain/qemu-reims-vgpu)。核对构建提交中的 `vendor/qemu` gitlink 及其来源。 |
| 独立上游工具 | `reims-util` 内的引导资源生成、安装镜像处理和工具自身的参数语义 | [`steelbrain/reims-util`](https://github.com/steelbrain/reims-util)。按运行时锁定的提交定位。 |
| 独立图形依赖 | Metal 到 Vulkan 的命令、资源和着色器转换实现 | [`steelbrain/metal2vulkan`](https://github.com/steelbrain/metal2vulkan)。按运行时锁定的提交定位。 |
| 其他独立引擎 | 引擎自身的执行、翻译和固件实现 | 对应引擎的源代码仓库。客户端的驱动注册、启动参数适配和状态展示仍归 `Reims-Go`。 |
-| 运行时集成与分发 | 上游版本选取、依赖补丁、运行时编译、打包、能力清单及 Preview 发布 | [`yxc0915/reims-vgpu`](https://github.com/yxc0915/reims-vgpu) 的运行时流水线。构建及发布规则见[便携运行时与跨仓边界](architecture.md#便携运行时与跨仓边界)。 |
+| 运行时集成与分发 | 上游版本选取、依赖补丁、运行时编译、打包、能力清单及 Preview 发布 | [`reims-go/reims-vgpu`](https://github.com/reims-go/reims-vgpu) 的运行时流水线。构建及发布规则见[便携运行时与跨仓边界](architecture.md#便携运行时与跨仓边界)。 |
同一项功能可以涉及多个仓库。窗口安装引导调用已有运行时能力时,浮层、进度和流程编排属于客户端。若同时调整 Reims 原生窗口的事件语义,窗口实现属于 `reims-vgpu`,调用和交互留在客户端。挂起功能同理,GUI / CLI 和任务状态属于客户端,QEMU 的迁移或设备状态实现属于 QEMU;运行时再负责选取具备该能力的版本。
diff --git a/internal/runtime/remote.go b/internal/runtime/remote.go
index 39c4ada..5d5da79 100644
--- a/internal/runtime/remote.go
+++ b/internal/runtime/remote.go
@@ -27,7 +27,7 @@ import (
)
const (
- DefaultReleasesRepo = "yxc0915/reims-vgpu"
+ DefaultReleasesRepo = "reims-go/reims-vgpu"
DefaultAPIBase = "https://api.github.com"
DefaultWebBase = "https://github.com"
runtimeTagPrefix = "runtime-"
@@ -58,8 +58,8 @@ func NormalizeChannel(s string) string {
// app releases and (until pruned) daily alpha runtimes.
const maxReleasePages = 10
-// Source is where runtime releases are listed. REIMS_GO_RELEASES_REPO overrides
-// the repository (for forks and testing).
+// Source is where runtime releases are listed. REIMS_GO_RUNTIME_RELEASES_REPO
+// overrides the repository (for forks and testing).
type Source struct {
APIBase string
WebBase string
@@ -69,7 +69,7 @@ type Source struct {
// DefaultSource returns the default GitHub runtime source.
func DefaultSource() Source {
- repo := os.Getenv("REIMS_GO_RELEASES_REPO")
+ repo := os.Getenv("REIMS_GO_RUNTIME_RELEASES_REPO")
if repo == "" {
repo = DefaultReleasesRepo
}
diff --git a/internal/runtime/remote_test.go b/internal/runtime/remote_test.go
index c64bcc8..34fb82d 100644
--- a/internal/runtime/remote_test.go
+++ b/internal/runtime/remote_test.go
@@ -66,12 +66,13 @@ func (g *fakeGitHub) source() Source {
return Source{APIBase: g.srv.URL, Repo: "o/r", Client: g.srv.Client()}
}
-func TestDefaultSourceUsesRuntimeFork(t *testing.T) {
- t.Setenv("REIMS_GO_RELEASES_REPO", "")
- if got := DefaultSource().Repo; got != "yxc0915/reims-vgpu" {
+func TestDefaultSourceRepository(t *testing.T) {
+ t.Setenv("REIMS_GO_RUNTIME_RELEASES_REPO", "")
+ t.Setenv("REIMS_GO_RELEASES_REPO", "example/app") // app updates only
+ if got := DefaultSource().Repo; got != "reims-go/reims-vgpu" {
t.Fatalf("default runtime repository = %q", got)
}
- t.Setenv("REIMS_GO_RELEASES_REPO", "example/runtime")
+ t.Setenv("REIMS_GO_RUNTIME_RELEASES_REPO", "example/runtime")
if got := DefaultSource().Repo; got != "example/runtime" {
t.Fatalf("overridden runtime repository = %q", got)
}
diff --git a/internal/version/version.go b/internal/version/version.go
index c17239f..6eb38e2 100644
--- a/internal/version/version.go
+++ b/internal/version/version.go
@@ -55,7 +55,8 @@ var (
reDevTitleVer = regexp.MustCompile(`(?i)\b(v\d+\.\d+\.\d+-dev-[0-9a-z.-]+)\b`)
)
-// Source configures where app releases are checked.
+// Source configures where app releases are checked. REIMS_GO_RELEASES_REPO
+// overrides the repository (for forks and testing).
type Source struct {
APIBase string
WebBase string