Skip to content

Commit f8dadd2

Browse files
committed
svg
1 parent eaafaf7 commit f8dadd2

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/deploy-linux.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,21 @@ jobs:
5353
- name: Download linuxdeploy + GTK plugin
5454
run: |
5555
wget -O linuxdeploy-x86_64.AppImage https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
56-
chmod +x linuxdeploy-x86_64.AppImage
56+
chmod +x linuxdeploy-x86_64.AppImage
5757
# wget -O linuxdeploy-plugin-gtk.AppImage https://github.com/linuxdeploy/linuxdeploy-plugin-gtk/releases/download/continuous/linuxdeploy-plugin-gtk-x86_64.AppImage
58-
58+
5959
- name: Create AppDir structure
6060
run: |
6161
mkdir -p AppDir/usr/bin
6262
mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps
6363
64-
64+
6565
# Binary
6666
cp dist/${{ env.BINARY_NAME }}-linux-x86_64 AppDir/usr/bin/${{ env.BINARY_NAME }}
67-
cp assets/icon/icon.svg AppDir/git-tree.svg
67+
cp assets/icon/svg/icon.svg AppDir/git-tree.svg
6868
# Icon — convert SVG to PNG if needed
6969
sudo apt-get install -y librsvg2-bin
70-
rsvg-convert -w 256 -h 256 assets/icon/icon.svg \
70+
rsvg-convert -w 256 -h 256 assets/icon/svg/icon.svg \
7171
> AppDir/usr/share/icons/hicolor/256x256/apps/${{ env.BINARY_NAME }}.png
7272
7373
# .desktop file
@@ -143,7 +143,7 @@ jobs:
143143
chmod +x git-tree-*-x86_64.AppImage
144144
./git-tree-*-x86_64.AppImage
145145
```
146-
146+
147147
### Raw binary
148148
```bash
149149
chmod +x git-tree-linux-x86_64
@@ -163,7 +163,6 @@ jobs:
163163
draft: false
164164
prerelease: ${{ contains(github.ref_name, '-') }}
165165
files: |
166-
dist/${{ env.BINARY_NAME }}-linux-x86_64
167-
dist/${{ env.BINARY_NAME }}-${{ github.ref_name }}-x86_64.AppImage
168-
dist/SHA256SUMS-linux.txt
169-
166+
dist/${{ env.BINARY_NAME }}-linux-x86_64
167+
dist/${{ env.BINARY_NAME }}-${{ github.ref_name }}-x86_64.AppImage
168+
dist/SHA256SUMS-linux.txt

0 commit comments

Comments
 (0)