mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
Merge pull request #903 from mbilker/fix-debian-icons
Copy app icons to `hicolor` on Debian
This commit is contained in:
commit
9bd77dc449
1 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,12 @@ cp "$DESKTOP_FILE" "$TARGET/usr/share/applications"
|
|||
mkdir -m $FILE_MODE -p "$TARGET/usr/share/pixmaps"
|
||||
cp "$ICON_FILE" "$TARGET/usr/share/pixmaps"
|
||||
|
||||
mkdir -m $FILE_MODE -p "$TARGET/usr/share/icons/hicolor"
|
||||
for i in 256 128 64 32 16; do
|
||||
mkdir -p "$TARGET/usr/share/icons/hicolor/${i}x${i}/apps"
|
||||
cp "$DEB_PATH/icons/${i}.png" "$TARGET/usr/share/icons/hicolor/${i}x${i}/apps/nylas.png"
|
||||
done
|
||||
|
||||
# Copy generated LICENSE.md to /usr/share/doc/nylas/copyright
|
||||
mkdir -m $FILE_MODE -p "$TARGET/usr/share/doc/nylas"
|
||||
cp "$TARGET/usr/share/nylas/resources/LICENSE.md" "$TARGET/usr/share/doc/nylas/copyright"
|
||||
|
|
Loading…
Reference in a new issue