-
Notifications
You must be signed in to change notification settings - Fork 236
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
Conversation
There was a problem hiding this 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.
Is there a specific reason behind it? I explained the switch to tab spaces due to the AppRun being made in the script. |
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 |
You could simply unindent the heredoc declaration. |
There was a problem hiding this 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.
https://github.com/Samueru-sama/lite-xl/actions/runs/11848568308/job/33020326874 Please fix this. UPDATE: nevermind this seems to be a temporary issue |
* 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`
* 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`
* 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`
* 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`
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 😅