fix: repack AppImages with correct relative .DirIcon symlink#203
Open
mattbell87 wants to merge 2 commits into
Open
fix: repack AppImages with correct relative .DirIcon symlink#203mattbell87 wants to merge 2 commits into
mattbell87 wants to merge 2 commits into
Conversation
Workaround for tauri-apps/tauri#15110 where tauri-bundler bakes an absolute symlink for .DirIcon into the AppImage squashfs, causing app-manager and similar tools to fail installation. After tauri-action builds and uploads the AppImages, this step extracts each one, replaces .DirIcon with a relative symlink, repacks with appimagetool, and re-uploads the fixed file to the release. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/release.ymlthat extracts each Linux AppImage, replaces the broken absolute.DirIconsymlink with a relative one, repacks withappimagetool, and re-uploads to the releaseBackground
This is a workaround for tauri-apps/tauri#15110 —
tauri-bundlerbakes an absolute path (pointing to the CI runner's build directory) into the.DirIconsymlink inside the AppImage squashfs. Tools likeapp-managerfollow this symlink to extract the app icon during installation and fail because the path doesn't exist on the user's machine.Tracked in: #202
Test plan
app-manager install.DirIconinside the repacked AppImage is a relative symlink (Krillnotes.png)Notes
Once tauri-apps/tauri#15141 or #15404 is merged upstream, this workaround will be safe to keep — it will simply overwrite an already-correct symlink with the same value.
🤖 Generated with Claude Code