Skip to content

[Feature]: Flatpak support #1093

Open
Open

Description

@esimkowitz

Feature description

Now that we're planning on deprecating AppImage (#1082), we need to support FlatPak as an alternative agnostic distribution mechanism.

Implementation Suggestion

Electron Builder does not currently support publishing to FlatHub. FlatHub only allows packages that they can build on their infra and Electron Builder is not currently capable of supplying a manifest that would allow their infra to build the packages.

At a brief glance, it seems doable, though it is still a lot of legwork to set up. We'd need to pre-fetch all dependencies, including the Electron binaries, place them in a cache, and update electron-builder so that it can find these cached dependencies when run inside FlatHub's builders.

Another option is to copy VSCode's method and ship the entire DEB as an extra-data field and then have the build script just unpack this into the sandbox.

Separately, the permissions story for FlatHub is pretty tricky. We would likely want to add first-run script that would copy WSH into the main filesystem and then WaveSrv can use a socket to communicate with it.

Anything else?

No response

Activity

  1. self-assigned this
    on Oct 21, 2024
  2. Chepycou commented on Dec 19, 2024

    @Chepycou

    👋
    Hey there, Any news on that ?

  3. esimkowitz commented on Dec 19, 2024

    @esimkowitz
    ContributorAuthor

    No news, probably won't get to this until the new year. If someone else wants to take this on, more than happy to hand-off.

  4. KaKi87 commented on Sep 8, 2025

    @KaKi87

    Hi,

    We're very well into the new year now

  5. removed their assignment
    on Sep 8, 2025
  6. esimkowitz commented on Sep 8, 2025

    @esimkowitz
    ContributorAuthor

    I don't work for Wave anymore and frankly don't have the time to devote to this, happy to hand off the work to someone else and review whatever gets submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions