Skip to content

Commit fbb9b4c

Browse files
committed
Add debug output to diagnose sharun lib4bin issue
- Show AppDir/bin content before lib4bin - Show file type of am-gui binary - Show AppDir content after lib4bin - Capture any error output from sharun
1 parent 7fef85f commit fbb9b4c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

scripts/make-appimage.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@ chmod +x /tmp/sharun-aio
1616
echo "Sharun téléchargé, exécution de lib4bin..."
1717

1818

19-
# Utiliser sharun l (lib4bin) pour compatibilité musl sans déploiement de bibliothèques
20-
/tmp/sharun-aio l --hard-links -d ./AppDir ./AppDir/bin/am-gui
19+
# Debug: vérifier que le binaire existe
20+
echo "=== DEBUG: Contenu de ./AppDir/bin/ ==="
21+
ls -la ./AppDir/bin/ | head -10
22+
echo "=== DEBUG: Type du binaire am-gui ==="
23+
file ./AppDir/bin/am-gui || echo "am-gui introuvable"
24+
25+
# Utiliser sharun l (lib4bin) pour compatibilité musl
26+
echo "=== Exécution de sharun lib4bin ==="
27+
/tmp/sharun-aio l --hard-links -d ./AppDir ./AppDir/bin/am-gui 2>&1 || echo "sharun lib4bin a échoué avec code $?"
28+
29+
echo "=== DEBUG: Contenu de ./AppDir après lib4bin ==="
30+
ls -la ./AppDir/ | head -10
2131
echo "Lib4bin terminé"
2232

2333
# Additional changes can be done in between here

0 commit comments

Comments
 (0)