Skip to content

Commit

Permalink
Includes icons and desktop file in build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
triallax committed Feb 12, 2024
1 parent 62f37e2 commit 5222721
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ jobs:
# README and LICENSE files
cp "README.md" "LICENSE-MIT" "LICENSE-APACHE" "$ARCHIVE_DIR"
# Desktop file and icons
cp "assets/numbat.desktop" assets/numbat-*x*.png "assets/numbat.svg" "$ARCHIVE_DIR"
# Numbat prelude
cp -r numbat/modules "$ARCHIVE_DIR"
Expand Down Expand Up @@ -262,6 +265,14 @@ jobs:
install -Dm644 "LICENSE-MIT" "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/LICENSE-MIT"
install -Dm644 "LICENSE-APACHE" "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/LICENSE-APACHE"
# Desktop file and icons
install -Dm644 "assets/numbat.desktop" "${DPKG_DIR}/usr/share/applications/numbat.desktop"
install -Dm644 "assets/numbat.svg" "${DPKG_DIR}/usr/share/icons/hicolor/scalable/apps/numbat.svg"
for s in 16 22 24 32 48 64 128 256 512; do
install -Dm644 "assets/numbat-${s}x${s}.png" "${DPKG_DIR}/usr/share/icons/hicolor/${s}x${s}/apps/numbat.png"
done
# Numbat prelude
mkdir -p "${DPKG_DIR}/usr/share/${DPKG_BASENAME}"
cp -r numbat/modules "${DPKG_DIR}/usr/share/${DPKG_BASENAME}"
Expand Down

0 comments on commit 5222721

Please sign in to comment.