Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage support #181

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

AppImage support #181

wants to merge 6 commits into from

Conversation

tmayoff
Copy link

@tmayoff tmayoff commented May 3, 2024

this should close #75. It's not quite done yet but does work (want to cleanup). AppImages require two things, the AppDir and the AppImage runtime; I found a couple of ways of setting this up, and went with what I thought was the best.

Other similar implementations

This mimicks the last one downloading the runtime when bundling, but doesn't cache it.

@@ -39,7 +39,7 @@ fn symlink_dir(src: &Path, dst: &Path) -> io::Result<()> {
}

#[cfg(unix)]
fn symlink_file(src: &Path, dst: &Path) -> io::Result<()> {
pub fn symlink_file(src: &Path, dst: &Path) -> io::Result<()> {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if there's another intended way to do this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I just missed another way of doing this, but AppDir specifies you can symlink the .desktop file and the icons to the AppDir root

@tmayoff tmayoff changed the title AppImage support, AppImage support May 3, 2024
@tmayoff tmayoff marked this pull request as ready for review May 10, 2024 22:38
src/bundle/linux/appimage_bundle.rs Outdated Show resolved Hide resolved
src/bundle/linux/appimage_bundle.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add AppImage support
2 participants