File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 7373 - name : Build
7474 run : pnpm tauri build ${{ inputs.dry && '--no-bundle' || '--bundles appimage,deb' }}
7575
76+ - name : Fix AppImage .DirIcon absolute symlink
77+ if : ${{ inputs.dry == false }}
78+ shell : bash
79+ run : |
80+ APPIMAGE=$(find src-tauri/target/release/bundle/appimage -name "*.AppImage" | head -1)
81+ if [ -n "$APPIMAGE" ]; then
82+ chmod +x "$APPIMAGE"
83+ "$APPIMAGE" --appimage-extract
84+ cd squashfs-root
85+ rm -f .DirIcon
86+ ln -s murmure.png .DirIcon
87+ cd ..
88+ wget -q https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
89+ chmod +x appimagetool-x86_64.AppImage
90+ ARCH=x86_64 ./appimagetool-x86_64.AppImage squashfs-root "$APPIMAGE"
91+ rm -rf squashfs-root appimagetool-x86_64.AppImage
92+ fi
93+
7694 - name : Restore Tauri signing key
7795 if : ${{ inputs.dry == false }}
7896 env :
You can’t perform that action at this time.
0 commit comments