File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ This script will:
3434
3535The AppImage includes:
3636- TIC-80 executable (tic80 binary)
37+ - Required libraries (curl, etc. for Linux networking)
3738- Desktop integration files (.desktop, icon)
3839- AppRun script for proper execution
3940
@@ -56,6 +57,6 @@ The AppImage is automatically built and deployed via GitHub Actions:
5657
5758## Notes
5859
59- - TIC-80 is designed to be statically linked, so the AppImage should not require external libraries
60+ - The AppImage bundles all required libraries (like curl for networking), making it truly portable
6061- Desktop integration works automatically when the AppImage is run
6162- For development tools and demo assets, users should download the full TIC-80 distribution
Original file line number Diff line number Diff line change @@ -42,8 +42,11 @@ exec "${HERE}/usr/bin/tic80" "$@"
4242EOF
4343chmod +x " $APPDIR /AppRun"
4444
45- # Copy required libraries (if any - TIC-80 should be statically linked)
46- # ldd build/bin/tic80 | grep "=>" | awk '{print $3}' | xargs -I {} cp {} "$APPDIR/usr/lib/" 2>/dev/null || true
45+ # Copy required libraries (TIC-80 links against curl on Linux)
46+ if [[ " $OSTYPE " == " linux-gnu" * ]]; then
47+ echo " Copying required libraries..."
48+ ldd build/bin/tic80 | grep " =>" | awk ' {print $3}' | xargs -I {} cp {} " $APPDIR /usr/lib/" 2> /dev/null || true
49+ fi
4750
4851# Download appimagetool if not present
4952if [ ! -f " appimagetool.AppImage" ]; then
You can’t perform that action at this time.
0 commit comments