-
Notifications
You must be signed in to change notification settings - Fork 19
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
Package as Flatpak for elementary OS 6 #143
Comments
Please make a flatpak app for Elementary OS 6 , we are really missing this app in the app store. Thanks |
I've been trying to get WebPin working in a FlatPak for the past few days. See #145. I think it's best for me to move to this issue. I currently have two issues:
On a separate note, the icon picker needs to switch to using the FileChooser portal. |
As far as two, above, I've put a bash script which just echos "flatpak" in /app/bin/flatpak (in the container). Everything now works flawlessly. Probably not the "correct" method, but it works. |
I've pushed what I have so far to https://github.com/dcowan-london/webpin/tree/flatpak. |
When testing on another device, I got this error when I attempted to start a webapp:
This error repeats on every attempted reload. |
Well, after updating to SDK version 6.1 (from 6), this error is gone |
I now have a working build at https://github.com/dcowan-london/webpin/tree/flatpak Note that currently the file picker dialogue doesn't have access to the filesystem, and so there's no way to set an app icon from with the filepicker. My next step is to integrate the filepicker portal. |
I've temporarily allowed access to |
Well, that was pretty simple! Switched to |
OK, issue I'm having now is downloads. When downloading something from a pinned website, it attempts to go directly into the Hoping I can somehow allow just writing new files to a directory without giving read/modify access. |
So it turns out that WebKit, by default, tries to save downloads to I've been able to catch the signal and open a FileChooser Portal, and The problem is that after that, none of the progress signals ( The only thing which might possibly be helpful is this error, which appears when the FileChooser is opened (
These errors appear even when Leaving this here for now - I plan to come back at some point! |
@dcowan-london Just wanted to say thanks for tackling this. I look forward to seeing this come to fruition. |
As you might have heard, AppCenter is going Flatpak! For elementary OS 6, we will not longer be accepting Debian packaging, so your app will need to be updated.
We have documentation on our developer guide for writing your Flatpak manifest here: https://docs.elementary.io/develop/writing-apps/our-first-app/packaging#flatpak-manifest
Also, in case you missed it, elementary OS 6 beta 2 is now available. This is a great time to get your app packaged up as Flatpak and test that everything is working before the final release. AppCenter submission for OS 6 will be open soon, so don't delay :)
The text was updated successfully, but these errors were encountered: