Skip to content

Commit 87c9388

Browse files
committed
Fix AppImage build: valid desktop Categories and non-deprecated plugin vars
appimagetool rejects the unregistered "Design" category; keep Graphics;2DGraphics. Use LDAI_OUTPUT/TAG so the appimage plugin no longer warns about the deprecated OUTPUT/VERSION variables.
1 parent 4b01632 commit 87c9388

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,18 @@ jobs:
5757
# Icon basename must match Icon= in the .desktop file.
5858
cp assets/icons/icon-256.png article-cover-art-generator.png
5959
60-
export OUTPUT="acag-${VERSION}-x86_64.AppImage"
60+
# LDAI_OUTPUT is the plugin's own (non-deprecated) output-name var.
61+
export LDAI_OUTPUT="acag-${TAG}-x86_64.AppImage"
6162
./linuxdeploy.AppImage \
6263
--appdir AppDir \
6364
-e target/release/acag \
6465
-d assets/article-cover-art-generator.desktop \
6566
-i article-cover-art-generator.png \
6667
--output appimage
6768
68-
mv "${OUTPUT}" dist/
69+
mv "${LDAI_OUTPUT}" dist/
6970
env:
70-
VERSION: ${{ github.ref_name }}
71+
TAG: ${{ github.ref_name }}
7172

7273
- name: Publish to release
7374
uses: softprops/action-gh-release@v2

assets/article-cover-art-generator.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Comment=Generate 1:1 article cover art in an Omakase style
66
Exec=acag
77
Icon=article-cover-art-generator
88
Terminal=false
9-
Categories=Graphics;2DGraphics;Design;
9+
Categories=Graphics;2DGraphics;
1010
Keywords=acag;cover;art;svg;png;article;generator;omakase;
1111
StartupNotify=true

0 commit comments

Comments
 (0)