-
-
Notifications
You must be signed in to change notification settings - Fork 90
Use runtime extensions instead of copying into /app #639
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
Conversation
7ba7e30 to
66bdb07
Compare
| source /usr/lib/sdk/rust-stable/enable.sh | ||
| source /usr/lib/sdk/vala/enable.sh | ||
| source /usr/lib/sdk/llvm16/enable.sh |
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.
🪄
| browse_list_view.model = createBrowseSelectionModel(root_model, webview); | ||
|
|
||
| scanLibraries(root_model, base_path) | ||
| .then(() => { | ||
| browse_list_view.model.selected = 12; | ||
| const search_model = flattenModel(root_model); | ||
| filter_model.model = search_model; | ||
| }) | ||
| .catch(console.error); | ||
| await scanLibraries(root_model, Gio.File.new_for_path("/usr/share/doc")); | ||
| browse_list_view.model.selected = 12; | ||
| await scanLibraries(root_model, Gio.File.new_for_path("/app/share/doc")); | ||
|
|
||
| browse_list_view.model = createBrowseSelectionModel(root_model, webview); | ||
| const search_model = flattenModel(root_model); | ||
| filter_model.model = search_model; |
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.
@AkshayWarrier FYI
|
@Hofer-Julian what should I do about the cargo files? |
|
I'm merging this to move forward and avoid rebases/rebuilds, but please do review, and I'll address the comments in followups. |
Fixes #621 by implementing #621 (comment)
Fixes #615
Quick measurement With GNOME Builder export (
.flatpak):It has the nice side effect of removing workarounds, making the dev env and sandbox env exactly the same and speed up dev/export
Also:
strip: falsestuff as it is not needed anymorepost-installin favor of using sdk extensions as runtime extensionsTodo:
/usr/share/docand/app/share/doc