I don’t use Chrome and hate Google’s near-monopoly over the direction of the modern web.

That said… I got a tiny PR merged into Nativefier that enables builds on arm64, e.g. Pinebook Pro.

· · Mastodon Twitter Crossposter · 1 · 0 · 0

Nativefier uses the open source Electron and Chromium code to wrap up a site into a “native” binary. So for anyone missing those proprietary Electron apps (Slack, Discord) that run like crap in other browsers but weren’t build for arm64, you can now make your own version!

Show thread

Note: Nativefier does not (yet?) automatically generate a .desktop file, which is the magic piece on FreeDesktop platforms (like most Linux-based OSes) that lets you add an app to your launcher, dock, etc. I might look into that next, but tbh the codebase is mostly over my head.

Show thread

Update: throwing my terrible hacks into a repo so that folks who need Slack on Pinebook Pro can use it. Only works on arm64 and with the specific build settings.

Show thread

@cassidyjames is there any reason to not use Epiphany's (GNOME Web) “Save as application” feature instead? (Other than WebKitGTK not supporting some Web platform feature, that is.)

@aperezdc @cassidyjames you can't export desktop files from inside the sandbox, a portal is needed. Same issue for steam

@bilelmoussaoui @aperezdc I actually started by writing my own WebKitGTK wrapper for it, but Slack performs like garbage there and is super broken. It just seemed like a smaller barrier to go with Electron, even though I hate it. 🙃

@bilelmoussaoui @aperezdc and it really seems to be more of a case of Slack being only written for Chrome/Electron than WebKitGTK not supporting anything specifically. Other sites work fine in WebKitGTK, but Slack is just broken, at least on Pinebook Pro which is the entire reason I'm making a wrapper—the proprietary Slack app is not built for arm64.

@cassidyjames @aperezdc ah that's not great :/ I wonder if the Apple going full arm in the future would help us in such case

@cassidyjames @bilelmoussaoui aye, I see. That makes me wonder if we have something particularly broken on ARM, last time I opened Slack on Epiphany it worked fine, but that was a while ago and I suppose that the webapp has changed recently :blobpeek:

@cassidyjames @bilelmoussaoui @aperezdc huh, really? I use Slack in Ephy (pinned tab though, not a web app), it seems to work fine.

@bilelmoussaoui @cassidyjames but of you want to run as Flatpak, you would have the same issue with Nativefier, or Chromium trying to add .desktop files when they are running inside a sandbox... having a portal for allowing applications to add launchers is something we should be eventually looking into.

@aperezdc @bilelmoussaoui the idea of nativefier is to speed up the process of making an Electron app; it's not really intended to be used inside a Flatpak by end users.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!