Skip to content

Commit 5c30450

Browse files
Update to fix icon (hopefully)
1 parent 499eae9 commit 5c30450

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,30 @@ jobs:
8080
wget -P "$HOME/.local/bin" "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
8181
chmod +x "$HOME/.local/bin/appimagetool-x86_64.AppImage"
8282
appimagetool-x86_64.AppImage --version
83-
- name: Run PupNet
84-
run: pupnet Setup/MSUScripter.pupnet.conf --kind appimage -y
83+
- name: Run PupNet and Fix Icon
84+
run: |
85+
pupnet Setup/MSUScripter.pupnet.conf --kind appimage -y
86+
cd Setup/Output
87+
88+
echo
89+
echo "Extracting AppImage"
90+
./MSUScripter.x86_64.AppImage --appimage-extract
91+
cd squashfs-root
92+
rm .DirIcon
93+
94+
echo
95+
echo "Recreating .DirIcon"
96+
cp ./org.mattequalscoder.msuscripter.png ./.DirIcon
97+
98+
echo
99+
echo "Repackage AppImage"
100+
appimagetool-x86_64.AppImage .
101+
mv *.AppImage MSUScripter-x86_64.AppImage
85102
- name: Upload artifact
86103
uses: actions/upload-artifact@v4
87104
if: ${{ github.event_name != 'pull_request' }}
88105
with:
89-
path: "Setup/Output/MSUScripter*"
106+
path: "Setup/Output/squashfs-root/MSUScripter-x86_64.AppImage"
90107
name: MSUScripterLinux
91108

92109
package:

0 commit comments

Comments
 (0)