Skip to content

Commit 7c807b3

Browse files
committed
App launches successfully!
Change flatpak - force X11 backend and update build sources for development
1 parent 3c8aca8 commit 7c807b3

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

packaging/flatpak/githubstore.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ export JAVA_HOME=/app/jre
88
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/githubstore"
99
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/githubstore"
1010

11-
# Force X11 (via XWayland on Wayland) — Skiko/Compose doesn't yet
12-
# reliably support native Wayland drawing surfaces with JBR.
11+
# Force X11 backend — Compose Desktop (Skiko) does not yet reliably support
12+
# native Wayland drawing surfaces. On Wayland desktops this runs via XWayland,
13+
# which is available on all major distros (GNOME, KDE, etc.).
1314
export GDK_BACKEND=x11
1415

1516
exec /app/jre/bin/java \

packaging/flatpak/zed.rainxch.githubstore.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ command: githubstore
99
finish-args:
1010
# Network access for GitHub API calls and downloading releases
1111
- --share=network
12-
# Display support (X11 via XWayland on Wayland desktops)
13-
- --share=ipc
12+
# Display support X11 required (Compose/Skiko doesn't support native Wayland yet)
13+
# On Wayland desktops this uses XWayland, available on all major distros
1414
- --socket=x11
15-
- --socket=fallback-x11
15+
- --share=ipc
1616
# GPU acceleration for Compose rendering
1717
- --device=dri
1818
# Download directory access for APK/release downloads
1919
- --filesystem=xdg-download:rw
20-
- --socket=wayland
2120

2221
modules:
2322
# Module 1: Bundle JetBrains Runtime (JBR) 21 for optimal Compose Desktop rendering
@@ -77,8 +76,12 @@ modules:
7776
- install -Dm644 composeApp/src/jvmMain/resources/logo/app_icon.png
7877
/app/share/icons/hicolor/512x512/apps/zed.rainxch.githubstore.png
7978
sources:
80-
- type: git
81-
url: https://github.com/OpenHub-Store/GitHub-Store
82-
tag: 1.6.2
83-
commit: f6c83ddf49bf750e4c1491fb063c86ad2aee797c
84-
# Gradle wrapper will download dependencies via --share=network
79+
# For development: use local directory (switch to type: git for releases)
80+
- type: dir
81+
path: ../../
82+
# Gradle distribution (referenced by gradle-wrapper.properties after sed patch)
83+
- type: file
84+
url: https://services.gradle.org/distributions/gradle-8.14.3-bin.zip
85+
sha256: bd71102213493060956ec229d946beee57158dbd89d0e62b91bca0fa2c5f3531
86+
dest: gradle/wrapper
87+
dest-filename: gradle-bin.zip

0 commit comments

Comments
 (0)