Skip to content

Commit 0ec5609

Browse files
committed
cline fixes build
1 parent 153e6b6 commit 0ec5609

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build-appimage.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ APPDIR="TIC-80.AppDir"
2222
rm -rf "$APPDIR"
2323
mkdir -p "$APPDIR/usr/bin"
2424
mkdir -p "$APPDIR/usr/lib"
25-
mkdir -p "$APPDIR/usr/share/applications"
2625
mkdir -p "$APPDIR/usr/share/icons/hicolor/256x256/apps"
2726

2827
# Copy binary
2928
cp build/bin/tic80 "$APPDIR/usr/bin/"
3029

31-
# Copy desktop file
32-
sed 's|Icon=tic80|Icon=tic80.png|' build/linux/tic80.desktop.in > "$APPDIR/usr/share/applications/tic80.desktop"
30+
# Copy desktop file (must be in AppDir root and named after the AppImage)
31+
sed 's|Icon=tic80|Icon=tic80.png|' build/linux/tic80.desktop.in > "$APPDIR/TIC-80.desktop"
3332

3433
# Copy icon
3534
cp build/linux/tic80.png "$APPDIR/usr/share/icons/hicolor/256x256/apps/"

0 commit comments

Comments
 (0)