Skip to content

Commit 54ca735

Browse files
committed
feat: 适配上游 4.11.2 版本,更新 Makefile、README 与 .aur 配置
- 更新 Makefile 版本变量为 4.11.2.36529961-74e2511a - 同步更新 README.md 三语版本号与徽章链接 - 更新 .aur/PKGBUILD 与 .SRCINFO 的版本、下载源及 SHA256 - 新增 docs/changelog/4.11.1-to-4.11.2.md 变更日志
1 parent e15c1a7 commit 54ca735

5 files changed

Lines changed: 58 additions & 16 deletions

File tree

‎.aur/.SRCINFO‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pkgbase = codebuddy-ide-cn
22
pkgdesc = 腾讯云代码助手CodeBuddy IDE,是一款辅助编码工具。
3-
pkgver = 4.11.1.36020259
3+
pkgver = 4.11.2.36529961
44
pkgrel = 1
55
url = https://github.com/JipZeonGit/codebuddy-ide-cn-linux
66
arch = x86_64
@@ -28,10 +28,10 @@ pkgbase = codebuddy-ide-cn
2828
conflicts = codebuddycn-ide
2929
options = !strip
3030
options = !debug
31-
source = codebuddy-cn_4.11.1.36020259_amd64.deb::https://download.codebuddy.cn/aiide/linux-x64/CodeBuddy-linux-x64-4.11.1.36020259-b72e1c95-cn.deb
31+
source = codebuddy-cn_4.11.2.36529961_amd64.deb::https://download.codebuddy.cn/aiide/linux-x64/CodeBuddy-linux-x64-4.11.2.36529961-74e2511a-cn.deb
3232
source = codebuddy-ide-cn-linux-1e9ff906e5792c3008ea6b45a0555ec0e6a97462.tar.gz::https://github.com/JipZeonGit/codebuddy-ide-cn-linux/archive/1e9ff906e5792c3008ea6b45a0555ec0e6a97462.tar.gz
3333
source = LICENSE.notice
34-
sha256sums = 54a51b2d7fb3f1eec695cb1608b8adf4260adeb820a4f896ba720447175ac4a3
34+
sha256sums = 32787d758f4be84e7fa29a6ced2d7a336d77fc689ff536bfa664b29a92c14a8b
3535
sha256sums = SKIP
3636
sha256sums = b3260549a765c478dc33680c7b9a1a30e5a038456e340d6d25f7748390724241
3737

‎.aur/PKGBUILD‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# Tencent's proprietary CodeBuddy service license, NOT this MIT notice.
1010

1111
pkgname=codebuddy-ide-cn
12-
_cb_ver=4.11.1
13-
_cb_build=36020259
14-
_cb_hash=b72e1c95
12+
_cb_ver=4.11.2
13+
_cb_build=36529961
14+
_cb_hash=74e2511a
1515
pkgver="${_cb_ver}.${_cb_build}"
1616
pkgrel=1
1717
pkgdesc='腾讯云代码助手CodeBuddy IDE,是一款辅助编码工具。'
@@ -56,7 +56,7 @@ noextract=(
5656
)
5757

5858
sha256sums=(
59-
'54a51b2d7fb3f1eec695cb1608b8adf4260adeb820a4f896ba720447175ac4a3'
59+
'32787d758f4be84e7fa29a6ced2d7a336d77fc689ff536bfa664b29a92c14a8b'
6060
'SKIP'
6161
'b3260549a765c478dc33680c7b9a1a30e5a038456e340d6d25f7748390724241'
6262
)

‎Makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ SHELL := /bin/bash
22

33
# ── CodeBuddy DEB download config ──────────────────────────────────
44
# Only update these three values when a new version is released.
5-
CB_VERSION := 4.11.1
6-
CB_BUILD := 36020259
7-
CB_HASH := b72e1c95
5+
CB_VERSION := 4.11.2
6+
CB_BUILD := 36529961
7+
CB_HASH := 74e2511a
88
# ───────────────────────────────────────────────────────────────────
99
CB_BASE_URL := https://download.codebuddy.cn/aiide/linux-x64/CodeBuddy-linux-x64-
1010
CB_SUFFIX := -cn.deb

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Codebuddy IDE CN(国内版)的非官方 Linux 自动化包装与安装构建
1515
<img src="https://img.shields.io/badge/rpm-Fedora_%7C_RHEL-006699?style=flat&logo=fedora&logoColor=white" alt="Fedora RHEL Support">
1616
<img src="https://img.shields.io/badge/AppImage-All_Distros-007ACC?style=flat&logo=appimage&logoColor=white" alt="AppImage Support">
1717
<br>
18-
<img src="https://img.shields.io/badge/版本适配-v4.11.1-0052D9?style=flat&logo=probot&logoColor=white" alt="Supported Version">
18+
<img src="https://img.shields.io/badge/版本适配-v4.11.2-0052D9?style=flat&logo=probot&logoColor=white" alt="Supported Version">
1919
<img src="https://img.shields.io/badge/Electron-v37.7.0-47307B?style=flat&logo=electron&logoColor=white" alt="Electron Version">
2020
<img src="https://img.shields.io/badge/状态-Unofficial-d73a49?style=flat" alt="Status Unofficial">
2121
<img src="https://img.shields.io/badge/License-MIT-yellow?style=flat" alt="License MIT">
@@ -48,7 +48,7 @@ Codebuddy IDE CN(国内版)的非官方 Linux 自动化包装与安装构建
4848

4949
## 版本适配说明
5050

51-
当前转换流程基于官方 CodeBuddy IDE CN **4.11.1**(构建号 `36020259-b72e1c95-cn`)验证通过。更高版本的 DEB 安装包可能因为上游代码结构变化导致流程失败。如遇到构建失败或运行异常,请在本仓库提 Issue 并附上所使用的安装包版本号。
51+
当前转换流程基于官方 CodeBuddy IDE CN **4.11.2**(构建号 `36529961-74e2511a-cn`)验证通过。更高版本的 DEB 安装包可能因为上游代码结构变化导致流程失败。如遇到构建失败或运行异常,请在本仓库提 Issue 并附上所使用的安装包版本号。
5252

5353
各版本间的 Electron 升级、Node 模块变更与移植处理详情,请查阅 [版本变更记录](docs/changelog/)。
5454

@@ -276,7 +276,7 @@ ELECTRON_HEADERS_URL=https://artifacts.electronjs.org/headers/dist make build-ap
276276

277277
## 版本適配說明
278278

279-
當前轉換流程基於官方 CodeBuddy IDE CN **4.11.1**(構建號 `36020259-b72e1c95-cn`)驗證通過。更高版本的 DEB 安裝包可能因為上遊程式碼結構變化導致流程失敗。如遇到構建失敗或執行異常,請在本儲存庫提 Issue 並附上所使用的安裝包版本號。
279+
當前轉換流程基於官方 CodeBuddy IDE CN **4.11.2**(構建號 `36529961-74e2511a-cn`)驗證通過。更高版本的 DEB 安裝包可能因為上遊程式碼結構變化導致流程失敗。如遇到構建失敗或執行異常,請在本儲存庫提 Issue 並附上所使用的安裝包版本號。
280280

281281
各版本間的 Electron 升級、Node 模組變更與移植處理詳情,請查閱 [版本變更記錄](docs/changelog/)。
282282

@@ -338,7 +338,7 @@ make install
338338
目前專案已完整實現 Linux 端的轉換與打包核心流程,具體功能如下:
339339

340340
- 自動提取 `downloads/` 目錄下的官方 DEB 安裝包 Payload;
341-
- 從解包的 `package.json` 中,自動識別上游 Electron 版本號(4.11.1 對應 Electron `37.7.0`);
341+
- 從解包的 `package.json` 中,自動識別上游 Electron 版本號(4.11.2 對應 Electron `37.7.0`);
342342
- 直接復用 DEB 內部自帶的原生 Linux `buddycn` 執行時,最大程度保持與官方構建的一致性;
343343
- **原生模組按需本地補譯**:官方 DEB 安裝包缺失了部分關鍵原生模組(如 `node-pty`)的 Linux 預編譯二進位檔案。本工具會智能識別並僅對這些缺失的模組從 npm 獲取完整原始碼,針對 Electron 37.7.0 本地重新編譯並塞回安裝目錄,而對已正常打包的模組(如 `sqlite3`, `spdlog`)則直接復用;
344344
- 自動生成 Linux 系統啟動器與桌面入口檔案,並使用 ImageMagick 自動生成標準 `256x256` 高清圖標;
@@ -504,7 +504,7 @@ If you encounter bugs, please submit an Issue here. Do not contact Tencent offic
504504

505505
## Version Compatibility
506506

507-
The current repackaging workflow has been verified against official CodeBuddy IDE CN **4.11.1** (build `36020259-b72e1c95-cn`). Higher versions of the DEB installer may have upstream code structure changes that prevent the flow from completing. If you encounter build failures or runtime issues, please file an Issue with the package version number.
507+
The current repackaging workflow has been verified against official CodeBuddy IDE CN **4.11.2** (build `36529961-74e2511a-cn`). Higher versions of the DEB installer may have upstream code structure changes that prevent the flow from completing. If you encounter build failures or runtime issues, please file an Issue with the package version number.
508508

509509
For details on Electron upgrades, Node module changes and porting notes between versions, see the [Changelog](docs/changelog/).
510510

@@ -566,7 +566,7 @@ make install
566566
The project fully implements the core Linux-side repackaging and adaptation workflow:
567567

568568
- Auto-extract the official DEB installer payload in `downloads/`;
569-
- Detect the upstream Electron version from the extracted `package.json` metadata (4.11.1 matches Electron `37.7.0`);
569+
- Detect the upstream Electron version from the extracted `package.json` metadata (4.11.2 matches Electron `37.7.0`);
570570
- Directly reuse the native Linux `buddycn` runtime bundled in the DEB to ensure maximum stability and official consistency;
571571
- **On-demand Native Module Compilation**: the official DEB installer lacks compiled Linux binaries for several critical native modules (e.g., `node-pty`). This tool automatically downloads the source code from npm for these missing modules and rebuilds them locally against Electron 37.7.0, while keeping and reusing pre-compiled modules (e.g., `sqlite3`, `spdlog`) already present in the DEB;
572572
- Auto-generate Linux desktop entry and launcher configurations, utilizing ImageMagick to produce a standard `256x256` high-resolution icon;

‎docs/changelog/4.11.1-to-4.11.2.md‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# 4.11.1 → 4.11.2 版本变更记录
2+
3+
上游 DEB 包:`CodeBuddy-linux-x64-4.11.2.36529961-74e2511a-cn.deb`
4+
5+
## Electron 版本
6+
7+
| 版本 | 4.11.1 | 4.11.2 | 变化 |
8+
|---|---|---|---|
9+
| Electron | 37.7.0 | 37.7.0 | 无 |
10+
| App Version | 1.106.1 | 1.106.1 | 无 |
11+
12+
本版本上游 Electron 版本没有发生变化(依然为 `37.7.0`),因此 Node.js ABI 保持一致。
13+
14+
## Node 模块版本对比
15+
16+
本版本上游所有原生与平台相关模块的版本号均保持一致:
17+
18+
| 模块 | 4.11.1 | 4.11.2 | 变化 |
19+
|---|---|---|---|
20+
| node-pty | 1.1.0-beta35 | 1.1.0-beta35 | 无 |
21+
| native-keymap | 3.3.5 | 3.3.5 | 无 |
22+
| native-watchdog | 1.4.2 | 1.4.2 | 无 |
23+
| kerberos | 2.1.1 | 2.1.1 | 无 |
24+
| @vscode/spdlog | 0.15.4 | 0.15.4 | 无 |
25+
| @vscode/sqlite3 | 5.1.8-vscode | 5.1.8-vscode | 无 |
26+
| @vscode/ripgrep | 1.17.0 | 1.17.0 | 无 |
27+
| @parcel/watcher | 2.5.6 | 2.5.6 | 无 |
28+
| @vscode/deviceid | 0.1.1 | 0.1.1 | 无 |
29+
| native-is-elevated | 0.7.0 | 0.7.0 | 无 |
30+
| @vscode/policy-watcher | 1.3.2 | 1.3.2 | 无 |
31+
| windows-foreground-love | 0.5.0 | 0.5.0 | 无 |
32+
| @tencent/qimei-node-unified | 1.2.3 | 1.2.3 | 无 |
33+
34+
## 新增与变动模块分析与移植处理
35+
36+
本版本上游所有原生与平台相关模块均无版本变动,无新增或移除模块。
37+
38+
---
39+
40+
## 代码变更
41+
42+
本版本更新中,项目构建与移植逻辑无需额外修改代码。

0 commit comments

Comments
 (0)