From 157ebaaad2497b248a528fd552fe6d5f0e9f139d Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 8 Jan 2026 12:49:28 +0800 Subject: [PATCH] fix(ci): add --user flag to flatpak remote-add command --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea6967aeb..95ec4ee94 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -287,7 +287,7 @@ jobs: if [ -n "$DEB" ]; then echo "Building Flatpak bundle from .deb..." cp "$DEB" flatpak/cc-switch.deb - flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak install -y --user flathub org.gnome.Platform//46 org.gnome.Sdk//46 flatpak-builder --force-clean --user --disable-cache --repo flatpak-repo flatpak-build flatpak/com.ccswitch.desktop.yml NEW_FLATPAK="CC-Switch-${VERSION}-Linux.flatpak"