Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -580,16 +580,16 @@ jobs:

# Tauri 在 Linux 上的构建依赖(https://v2.tauri.app/start/prerequisites/)。
# 托盘走 ayatana 那一套:打包器看到它才会把那个库放进 AppImage。
# `xdg-utils`:配了深链接的应用,打 AppImage 时要把 `/usr/bin/xdg-mime`
# 拷进包里,没有它打包直接失败
# 不装 `xdg-utils`:Tauri 2.12 起打包器不再把 `xdg-mime` 放进 AppImage,
# 应用注册 `thinkwatch://` 时用的是用户系统上的那一份
- name: System libraries
run: |
set -euo pipefail
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
build-essential file libwebkit2gtk-4.1-dev libgtk-3-dev \
libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev \
xdg-utils desktop-file-utils
desktop-file-utils

- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
Expand All @@ -609,6 +609,11 @@ jobs:
# 只打 AppImage,写在 `tauri.linux.conf.json` 里。取哪一份 twcore 跟着
# `--target` 走,见 `fetch-core.sh`
- name: Build
# **Wayland 的库一个都不放。**Tauri 2.12 换的新 linuxdeploy 按 AppImage
# 的排除名单去掉了 libwayland-client,但同一套库里的 egl、cursor、server
# 还会进包;新旧混用的风险和白屏是同一类,交给用户系统上的那一套
env:
LINUXDEPLOY_EXCLUDED_LIBRARIES: "libwayland-*"
run: pnpm tauri build --target ${{ matrix.target }}

# 发出去的名字**不带空格**,理由和 Windows 那边一样。
Expand Down Expand Up @@ -656,6 +661,12 @@ jobs:
printf '%s\n' "$TOP" GLIBC_2.35 | sort -V -C \
|| { echo "要的 glibc 是 $TOP,超过了 2.35" >&2; exit 1; }
echo "包里的网关:$("$CORE" --version)"
# **Wayland 的库不能进包。**AppRun 把包里的库排在系统的前面,构建机
# (22.04)上的旧 libwayland 碰上新系统的 Mesa,EGL 拿不到显示,窗口
# 一片空白(Arch 上有人报过)。打包那一步已经排除了它们,这里防的是
# 以后升级或换打包器时排除悄悄失效
WAYLAND=$(find "$ROOT" -name 'libwayland-*.so*' | sed "s|^$ROOT/||")
[ -z "$WAYLAND" ] || { echo "包里带了 Wayland 的库:" >&2; echo "$WAYLAND" >&2; exit 1; }
# 包里自带的那份 .desktop(AppImage 的集成工具读它;用户看到的菜单条目
# 由应用自己写,见 `src-tauri/src/desktop_entry.rs`)
DESKTOP="$ROOT/usr/share/applications/ThinkWatch Lite.desktop"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "thinkwatch-lite",
"private": true,
"description": "Desktop app for a local AI API gateway on macOS, Windows and Linux",
"version": "2026.10.3",
"version": "2026.10.4",
"type": "module",
"packageManager": "pnpm@11.13.0",
"scripts": {
Expand All @@ -21,7 +21,7 @@
"@codemirror/state": "^6.7.4",
"@codemirror/view": "^6.43.11",
"@lezer/highlight": "1.2.3",
"@tauri-apps/api": "^2.9.0",
"@tauri-apps/api": "^2.12.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
Expand All @@ -38,7 +38,7 @@
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.0",
"@tauri-apps/cli": "^2.9.0",
"@tauri-apps/cli": "^2.12.1",
"@types/node": "^26.5.1",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
Expand Down
108 changes: 54 additions & 54 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions release-notes/2026.10.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**Upgrade notes:** the bundled core stays at 0.61.0, so a remote server running 0.61.0 keeps working with this version and nothing on the server has to change. Request history is kept.

**Linux: no more blank window on newer distributions:**
- The AppImage no longer carries its own Wayland libraries. It used to bring those of the system it was built on (Ubuntu 22.04), loaded ahead of the system's, and on distributions with a newer graphics stack, such as Arch, the window could stay blank. The app now uses the system's Wayland libraries, which every Linux desktop has.
- On a Wayland session the app now runs on Wayland itself instead of through X11 (XWayland).
- Thanks to [sunnysab](https://linux.do/u/sunnysab) on LINUX DO, who packaged ThinkWatch Lite for the AUR as [`thinkwatch-lite-bin`](https://aur.archlinux.org/packages/thinkwatch-lite-bin) and whose package showed the fix. Arch users can install it from there.

**Under the hood:** Tauri 2.12.1.
Loading
Loading