Skip to content

Commit d2e3eb2

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

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,32 @@ 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+
ls -al
93+
94+
echo
95+
echo "Recreating .DirIcon"
96+
rm .DirIcon
97+
cp ./org.mattequalscoder.msuscripter.png ./.DirIcon
98+
ls -al
99+
100+
echo
101+
echo "Repackage AppImage"
102+
appimagetool-x86_64.AppImage .
103+
mv *.AppImage MSUScripter-x86_64.AppImage
85104
- name: Upload artifact
86105
uses: actions/upload-artifact@v4
87106
if: ${{ github.event_name != 'pull_request' }}
88107
with:
89-
path: "Setup/Output/MSUScripter*"
108+
path: "Setup/Output/squashfs-root/MSUScripter-x86_64.AppImage"
90109
name: MSUScripterLinux
91110

92111
package:

0 commit comments

Comments
 (0)