From 9c752f57e4b2995570e5d7178c5444ea81ff6735 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Sat, 27 Jun 2026 07:24:46 -0400 Subject: [PATCH] use new strace mode, add `--test` --- make-appimage.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/make-appimage.sh b/make-appimage.sh index c577a48..565057b 100644 --- a/make-appimage.sh +++ b/make-appimage.sh @@ -13,6 +13,8 @@ export DESKTOP=/usr/share/applications/com.github.rafostar.Clapper.desktop export DEPLOY_GSTREAMER=1 export STARTUPWMCLASS=com.github.rafostar.Clapper # Default to Wayland's wmclass. For X11, GTK_CLASS_FIX will force the wmclass to be the Wayland one. export GTK_CLASS_FIX=1 +export STRACE_BINARY=clapper +export STRACE_FLAGS=https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4 sys_clapper_dir=$(echo /usr/lib/clapper-*) if [ -d "$sys_clapper_dir" ]; then @@ -25,7 +27,11 @@ else fi # Trace and deploy all files and directories needed for the application (including binaries, libraries and others) -quick-sharun /usr/bin/clapper -- https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4 +quick-sharun /usr/bin/clapper # Turn AppDir into AppImage quick-sharun --make-appimage + +# Test the app for 12 seconds, if the test fails due to the app +# having issues running in the CI use --simple-test instead +quick-sharun --test ./dist/*.AppImage