Bundle assets into the appimage build

This commit is contained in:
markmental 2026-03-29 14:58:13 -04:00
commit 1217903703
2 changed files with 48 additions and 1 deletions

View file

@ -33,6 +33,14 @@ mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps
cp passport-c-media-player AppDir/usr/bin/
chmod +x AppDir/usr/bin/passport-c-media-player
# Copy bundled resources (font and logo for AppImage)
if [ -f "BigBlueTermPlusNerdFontMono-Regular.ttf" ]; then
cp BigBlueTermPlusNerdFontMono-Regular.ttf AppDir/usr/bin/
fi
if [ -f "logo.png" ]; then
cp logo.png AppDir/usr/bin/
fi
# Create desktop file directly in script (avoids copy conflicts)
cat > AppDir/passport-c-media-player.desktop << 'EOF'
[Desktop Entry]