From 187911320b134303e881dfaf5893398ad602b14b Mon Sep 17 00:00:00 2001 From: CRT Date: Tue, 13 Oct 2026 01:47:32 +0800 Subject: [PATCH] desktop workflow: start the AppImage and the deb under Xvfb; the UI must reach the sidecar (host.log), no error lines --- .forgejo/workflows/desktop.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.forgejo/workflows/desktop.yml b/.forgejo/workflows/desktop.yml index 3f559c7..b012b6e 100644 --- a/.forgejo/workflows/desktop.yml +++ b/.forgejo/workflows/desktop.yml @@ -83,6 +83,33 @@ jobs: (cd /tmp && rm -rf squashfs-root && "$GITHUB_WORKSPACE/out/storebound_${V}_amd64.AppImage" --appimage-extract >/dev/null && squashfs-root/usr/bin/storebound-desktop --self-test) rm -rf /tmp/deb && dpkg-deb -x "out/storebound_${V}_amd64.deb" /tmp/deb && /tmp/deb/usr/bin/storebound-desktop --self-test dpkg-deb -I "out/storebound_${V}_amd64.deb" | sed -n '1,20p' + - name: Start the app under Xvfb (AppImage and deb) + # --self-test checks only the sidecar; this opens the real window (GTK, WebKitGTK, the bundled libraries of the + # AppImage) on a virtual display. "sidecar started" in host.log means the webview ran the UI and called the host. + run: | + sudo apt-get install -y -qq --no-install-recommends xvfb xauth dbus-x11 >/dev/null + V=$(bun tools/desktop-version.ts --print) + smoke() { #