build: add macOS dmg release package
This commit is contained in:
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: "Release tag, for example v1.3.0"
|
||||
description: "Release tag, for example v1.3.2"
|
||||
required: true
|
||||
|
||||
permissions:
|
||||
@@ -132,12 +132,24 @@ jobs:
|
||||
test -n "$APP_PATH"
|
||||
test "$(basename "$APP_PATH")" = "Lingma IPC Proxy.app"
|
||||
ditto -c -k --sequesterRsrc --keepParent "$APP_PATH" "lingma-ipc-proxy-desktop_${RELEASE_TAG}_darwin_arm64.zip"
|
||||
DMG_ROOT="$(mktemp -d)"
|
||||
cp -R "$APP_PATH" "$DMG_ROOT/"
|
||||
ln -s /Applications "$DMG_ROOT/Applications"
|
||||
hdiutil create \
|
||||
-volname "Lingma IPC Proxy" \
|
||||
-srcfolder "$DMG_ROOT" \
|
||||
-ov \
|
||||
-format UDZO \
|
||||
"lingma-ipc-proxy-desktop_${RELEASE_TAG}_darwin_arm64.dmg"
|
||||
rm -rf "$DMG_ROOT"
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: desktop-macos
|
||||
path: lingma-ipc-proxy-desktop_${{ env.RELEASE_TAG }}_darwin_arm64.zip
|
||||
path: |
|
||||
lingma-ipc-proxy-desktop_${{ env.RELEASE_TAG }}_darwin_arm64.zip
|
||||
lingma-ipc-proxy-desktop_${{ env.RELEASE_TAG }}_darwin_arm64.dmg
|
||||
|
||||
build-desktop-windows:
|
||||
name: Build Desktop Windows
|
||||
|
||||
19
README.md
19
README.md
@@ -8,7 +8,7 @@ The project is designed for tools such as Claude Code, Cline, Continue, OpenCode
|
||||
|
||||
## Current Version
|
||||
|
||||
The current desktop line is `v1.3.0`.
|
||||
The current desktop line is `v1.3.2`.
|
||||
|
||||
Release builds are produced by GitHub Actions for:
|
||||
|
||||
@@ -16,10 +16,23 @@ Release builds are produced by GitHub Actions for:
|
||||
| --- | --- | --- |
|
||||
| `lingma-ipc-proxy_<tag>_darwin_arm64.tar.gz` | macOS | CLI proxy |
|
||||
| `lingma-ipc-proxy_<tag>_windows_amd64.zip` | Windows | CLI proxy |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.zip` | macOS | Desktop app |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.dmg` | macOS Apple Silicon | Drag-to-install desktop app |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.zip` | macOS Apple Silicon | Raw `.app` archive |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_windows_amd64.zip` | Windows | Desktop app |
|
||||
| `lingma-ipc-proxy_<tag>_sha256.txt` | all | Checksums |
|
||||
|
||||
### Which Package Should I Download?
|
||||
|
||||
| Your system | Recommended asset | Notes |
|
||||
| --- | --- | --- |
|
||||
| macOS on Apple Silicon (M1/M2/M3/M4) | `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.dmg` | Open the DMG and drag `Lingma IPC Proxy.app` to `Applications`. |
|
||||
| macOS on Apple Silicon, portable archive | `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.zip` | Same app, but packaged as a zip instead of a drag-to-install DMG. |
|
||||
| Windows x64 / x86_64 / AMD64 | `lingma-ipc-proxy-desktop_<tag>_windows_amd64.zip` | This is the correct package for normal 64-bit Windows PCs, including Intel and AMD CPUs. |
|
||||
| macOS CLI only | `lingma-ipc-proxy_<tag>_darwin_arm64.tar.gz` | Terminal-only proxy binary. |
|
||||
| Windows CLI only | `lingma-ipc-proxy_<tag>_windows_amd64.zip` | Terminal-only proxy binary for 64-bit Windows. |
|
||||
|
||||
There is currently no separate `windows_arm64` package. On a normal x64 Windows machine, choose `windows_amd64`.
|
||||
|
||||
## Desktop App
|
||||
|
||||
The desktop app wraps the proxy with a native-feeling control panel:
|
||||
@@ -331,7 +344,7 @@ The desktop bundle name is always `Lingma IPC Proxy`.
|
||||
|
||||
The release workflow is triggered by:
|
||||
|
||||
- pushing a tag such as `v1.3.0`
|
||||
- pushing a tag such as `v1.3.2`
|
||||
- manually running the `Release` workflow with a tag input
|
||||
|
||||
Planned improvements:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
## 当前版本
|
||||
|
||||
当前桌面端版本线:`v1.3.0`
|
||||
当前桌面端版本线:`v1.3.2`
|
||||
|
||||
GitHub Actions 会在 Release 中产出:
|
||||
|
||||
@@ -19,10 +19,23 @@ GitHub Actions 会在 Release 中产出:
|
||||
| --- | --- | --- |
|
||||
| `lingma-ipc-proxy_<tag>_darwin_arm64.tar.gz` | macOS | CLI 代理 |
|
||||
| `lingma-ipc-proxy_<tag>_windows_amd64.zip` | Windows | CLI 代理 |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.zip` | macOS | 桌面 App |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.dmg` | Apple Silicon Mac | 拖拽安装桌面 App |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.zip` | Apple Silicon Mac | `.app` 压缩包 |
|
||||
| `lingma-ipc-proxy-desktop_<tag>_windows_amd64.zip` | Windows | 桌面 App |
|
||||
| `lingma-ipc-proxy_<tag>_sha256.txt` | 全平台 | 校验文件 |
|
||||
|
||||
### 应该下载哪个包?
|
||||
|
||||
| 你的系统 | 推荐下载 | 说明 |
|
||||
| --- | --- | --- |
|
||||
| Apple Silicon Mac(M1/M2/M3/M4) | `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.dmg` | 打开 DMG 后把 `Lingma IPC Proxy.app` 拖到 `Applications`。 |
|
||||
| Apple Silicon Mac,想要压缩包 | `lingma-ipc-proxy-desktop_<tag>_darwin_arm64.zip` | 和 DMG 是同一个 App,只是 zip 形式。 |
|
||||
| Windows x64 / x86_64 / AMD64 | `lingma-ipc-proxy-desktop_<tag>_windows_amd64.zip` | 普通 64 位 Windows 电脑都选这个,包括 Intel 和 AMD CPU。 |
|
||||
| 只想在 macOS 终端跑 CLI | `lingma-ipc-proxy_<tag>_darwin_arm64.tar.gz` | 只有命令行代理,没有桌面界面。 |
|
||||
| 只想在 Windows 终端跑 CLI | `lingma-ipc-proxy_<tag>_windows_amd64.zip` | 只有命令行代理,没有桌面界面。 |
|
||||
|
||||
目前没有单独的 `windows_arm64` 包。常见 x64 Windows 机器请选择 `windows_amd64`。
|
||||
|
||||
## 功能概览
|
||||
|
||||
| 能力 | 状态 |
|
||||
@@ -442,8 +455,8 @@ Lingma IPC Proxy
|
||||
发布方式:
|
||||
|
||||
```bash
|
||||
git tag v1.3.0
|
||||
git push origin v1.3.0
|
||||
git tag v1.3.2
|
||||
git push origin v1.3.2
|
||||
```
|
||||
|
||||
也可以在 GitHub Actions 页面手动运行 `Release` workflow,并输入 tag。
|
||||
|
||||
@@ -222,7 +222,7 @@ onUnmounted(() => {
|
||||
<span class="status-dot" :class="{ running: status.running }"></span>
|
||||
<div>
|
||||
<strong>{{ status.running ? 'Proxy Running' : 'Proxy Stopped' }}</strong>
|
||||
<small>v1.3.0</small>
|
||||
<small>v1.3.2</small>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
"email": "lutc5@asiainfo.com"
|
||||
},
|
||||
"info": {
|
||||
"productVersion": "1.3.0"
|
||||
"productVersion": "1.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user