Skip to content

Permissions are now changed for custom appImages#41

Open
pakeke-constructor wants to merge 1 commit into
pfirsich:masterfrom
UntitledModGame:fix/chmod_for_custom_appimages
Open

Permissions are now changed for custom appImages#41
pakeke-constructor wants to merge 1 commit into
pfirsich:masterfrom
UntitledModGame:fix/chmod_for_custom_appimages

Conversation

@pakeke-constructor

Copy link
Copy Markdown

Previously, if you had a custom appImage, the execute permission wasn't set on your AppImage.

This PR changes/fixes that

@pfirsich

Copy link
Copy Markdown
Owner

There is a chance that the we don't have permission to add the executable bit on the custom AppImage in which case this might break for some people. This is probably (like 95%) fine, but could you add a check that the executable bit is not already set? I'd probably do if not os.access(source_appimage, os.X_OK). Would you mind adding that?

@pakeke-constructor

Copy link
Copy Markdown
Author

Yup! sure thing. Good catch btw

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.

2 participants