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

fix appimage cd error and use static appimage runtime #1924

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

Samueru-sama
Copy link
Contributor

Fixes #1912

However this won't fix the issue that the new builds of lite-xl don't use my user settings for some reason.


I also updated the appimage to use the new appimagetool that deploys the static appimage runtime, which gets rid of the libfuse2 dependency, however this means that the appimage will no longer work with appimagelauncher is right now it does not support the static appimage runtime.

I think the issue with libfuse2 is much more important since distros now don't ship libfuse2, but if you don't want that just let me know anyway. (Several other projects are switching to the static runtime regardless, most notably Cemu did it 2 years ago).

Also I removed the download of the generic AppRun and instead just made a simple one in the script, this is to avoid issues with the generic AppRun setting a lot of env variables that don't need to be set and would propagate to everything launched by lite-xl, like the terminal plugin, this is also why I changed the indentation to tabs to make the HEREDOC 😅

Copy link
Member

@takase1121 takase1121 left a comment

Choose a reason for hiding this comment

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

Please revert the indentation.

@Samueru-sama
Copy link
Contributor Author

Please revert the indentation.

Is there a specific reason behind it? I explained the switch to tab spaces due to the AppRun being made in the script.

@Jan200101
Copy link
Contributor

doing it for the AppRun specifically is fine, switching the indention for the entire file will cause conflicts with other PRs and doesn't fit the established pattern of spaces for indents

@takase1121
Copy link
Member

You could simply unindent the heredoc declaration.

Copy link
Member

@takase1121 takase1121 left a comment

Choose a reason for hiding this comment

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

This is fine, my only concern is just that the mixed space-tab indentation will be overwritten by some other people's IDE / text editor and break the heredoc, which was why I suggested to just deindent the heredoc in the beginning.

@takase1121
Copy link
Member

takase1121 commented Nov 15, 2024

https://github.com/Samueru-sama/lite-xl/actions/runs/11848568308/job/33020326874

Please fix this.

UPDATE: nevermind this seems to be a temporary issue

@takase1121 takase1121 merged commit 00b4527 into lite-xl:master Nov 15, 2024
11 checks passed
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Nov 25, 2024
* fix appimage cd error and use static appimage runtime

* include `desktop-file-utils` for appimagetool

* remove mv of old `AppRun`

* revert indentation

* don't export `APPIMAGE_EXTRACT_AND_RUN`
takase1121 pushed a commit that referenced this pull request Nov 27, 2024
* fix appimage cd error and use static appimage runtime

* include `desktop-file-utils` for appimagetool

* remove mv of old `AppRun`

* revert indentation

* don't export `APPIMAGE_EXTRACT_AND_RUN`
takase1121 pushed a commit that referenced this pull request Nov 27, 2024
* fix appimage cd error and use static appimage runtime

* include `desktop-file-utils` for appimagetool

* remove mv of old `AppRun`

* revert indentation

* don't export `APPIMAGE_EXTRACT_AND_RUN`
takase1121 pushed a commit that referenced this pull request Nov 27, 2024
* fix appimage cd error and use static appimage runtime

* include `desktop-file-utils` for appimagetool

* remove mv of old `AppRun`

* revert indentation

* don't export `APPIMAGE_EXTRACT_AND_RUN`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

The last continuous release broke the appimage
4 participants