- README follows a feature / install / usage layout with a hero image and light/dark screenshots that follow the reader's GitHub theme. - New app icon (assets/logo.svg) replaces the default Wails icon in build/appicon.png and build/windows/icon.ico, and the "R" mark in the title bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
126 lines
5.9 KiB
Markdown
126 lines
5.9 KiB
Markdown
<p align="center">
|
|
<a href="https://github.com/Nwflower/reims-go">
|
|
<img src="./assets/logo.png" width="80" height="80" alt="reims-go 图标" />
|
|
</a>
|
|
</p>
|
|
|
|
<h1 align="center">reims-go</h1>
|
|
|
|
<p align="center">在 Windows 上开一台带 GPU 加速的 macOS 虚拟机,不用自己编译。</p>
|
|
|
|
<p align="center">
|
|
<a href="https://github.com/Nwflower/reims-go/releases"><strong>下载</strong></a> ·
|
|
<a href="#安装">安装</a> ·
|
|
<a href="#使用">使用</a> ·
|
|
<a href="./docs/roadmap.md">路线图</a>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<img src="./.github/readme/hero.webp" width="100%" alt="reims-go 主窗口:前面是浅色外观下正在运行的 macos-tahoe 虚拟机详情页,后面是深色外观下的宿主与运行时页" />
|
|
</p>
|
|
|
|
reims-go 是 [reims-vgpu](https://github.com/steelbrain/reims-vgpu) 的 Windows 桌面应用。装好之后,检查电脑、下载 macOS、创建和启动虚拟机都在一个窗口里完成,不需要自己配环境或敲命令。
|
|
|
|
> 早期开发中,功能和界面还会变。
|
|
|
|
## 功能
|
|
|
|
- **开箱即用。** 运行时已经预先编译好,在应用里点一下就能安装,不用装任何开发工具。
|
|
- **电脑体检。** 一屏看清虚拟化是否开启、CPU、内存、显卡和剩余空间。虚拟化没开的话可以一键开启。
|
|
- **下载 macOS。** 在 Windows 上直接下载 macOS 完整安装包,带进度条,可以暂停,断了能接着下。
|
|
- **新建向导。** 五步建好一台虚拟机:选系统来源、CPU 与内存、存储、图形,最后确认。
|
|
- **随时调整。** 设置按 macOS 系统设置的方式分类。虚拟机开着也能改,每一项都会告诉你什么时候生效。
|
|
- **不占 C 盘。** 虚拟机、安装包和运行时都放在你选的数据目录里。
|
|
- **浅色和深色外观**,界面支持中文和英文。
|
|
|
|
## 安装
|
|
|
|
### 环境要求
|
|
|
|
- Windows 11 64 位
|
|
- 一块支持 Vulkan 的独立显卡,推荐 NVIDIA RTX 系列
|
|
- 建议留出 150 GB 以上的可用空间,用来放 macOS 安装包和虚拟磁盘
|
|
|
|
### 下载
|
|
|
|
打包好的安装程序还没有发布,目前需要从源码构建。先装好 [Go](https://go.dev/dl/)、[Node.js](https://nodejs.org)、[pnpm](https://pnpm.io) 和 [Wails](https://wails.io/docs/gettingstarted/installation),然后运行:
|
|
|
|
```powershell
|
|
git clone https://github.com/Nwflower/reims-go
|
|
cd reims-go
|
|
wails build
|
|
```
|
|
|
|
构建完成后,双击 `build\bin\reims-go.exe` 启动。
|
|
|
|
## 使用
|
|
|
|
1. **选择数据目录。** 第一次打开时,应用会推荐一个空间充足、不在 C 盘的位置。
|
|
2. **检查电脑并安装运行时。** 进入「宿主与运行时」页,确认各项都是「就绪」。虚拟化没开的话点「启用」,按提示重启一次电脑。然后在「运行时」里点「在线安装」。
|
|
3. **新建虚拟机。** 点侧边栏的 **+**,按向导选好 macOS 版本、CPU、内存和磁盘大小。
|
|
4. **启动并安装 macOS。** 点「启动」,会弹出虚拟机窗口。照着虚拟机页上的提示操作:先在「磁盘工具」里把磁盘抹掉成 APFS,再选「重新安装 macOS」。进入 macOS 桌面后,点「弹出安装盘」。
|
|
5. **调整配置。** 点齿轮图标打开设置。
|
|
|
|
> 在线安装目前还没有正式版运行时可选。在这之前,可以在「宿主与运行时」页打开「接收候选版」,或者用「导入运行时包」导入本地的运行时。
|
|
|
|
### 命令行
|
|
|
|
不想用图形界面的话,同样的功能也可以用命令行完成:
|
|
|
|
```powershell
|
|
reims-go doctor # 检查电脑
|
|
reims-go runtime fetch # 安装运行时
|
|
reims-go installer download tahoe # 下载 macOS 安装包
|
|
reims-go vm create macos-tahoe # 新建虚拟机
|
|
reims-go vm start macos-tahoe # 启动
|
|
```
|
|
|
|
运行 `reims-go help` 查看全部命令,加 `--lang en-US` 切换成英文输出。
|
|
|
|
## 截图
|
|
|
|
<table>
|
|
<tr>
|
|
<td width="50%">
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="./.github/readme/host-dark.webp" />
|
|
<img src="./.github/readme/host-light.webp" alt="宿主与运行时页:虚拟化、处理器、内存、可用空间四张卡片,下面是运行时和数据目录" />
|
|
</picture>
|
|
<p align="center"><sub>电脑体检与运行时</sub></p>
|
|
</td>
|
|
<td width="50%">
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="./.github/readme/vm-dark.webp" />
|
|
<img src="./.github/readme/vm-light.webp" alt="关于此虚拟机页:名称、处理器、图形、内存、存储、网络和显示器" />
|
|
</picture>
|
|
<p align="center"><sub>关于此虚拟机</sub></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50%">
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="./.github/readme/settings-dark.webp" />
|
|
<img src="./.github/readme/settings-light.webp" alt="虚拟机设置:左侧是分类,右侧是 CPU 核数选择" />
|
|
</picture>
|
|
<p align="center"><sub>虚拟机设置</sub></p>
|
|
</td>
|
|
<td width="50%">
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="./.github/readme/wizard-dark.webp" />
|
|
<img src="./.github/readme/wizard-light.webp" alt="新建虚拟机向导:系统来源、CPU 与内存、存储、图形与外设、确认五步" />
|
|
</picture>
|
|
<p align="center"><sub>新建虚拟机</sub></p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
## 许可证
|
|
|
|
reims-go 使用 [MIT](./LICENSE) 许可证。它调用的运行时组件有各自的开源许可证,见 [`NOTICE.md`](./NOTICE.md)。
|
|
|
|
## 关于 macOS
|
|
|
|
reims-go 不包含、也不分发任何 Apple 系统文件,macOS 安装包由你的电脑直接从 Apple 服务器下载。
|
|
|
|
**macOS 的软件许可协议只允许在 Apple 硬件上运行虚拟机。** 在其他硬件上使用是否合规,需要你自己判断并承担责任。reims-go 与 Apple Inc. 没有关联,macOS 是 Apple Inc. 的商标。
|