How do i publish my game on Flathub?

How do i publish my GDevelop game on Flathub (the Linux app store) ?

So, my only GDevelop game is currently available on GameJolt and gd.games, but i wanted to make it available on Flathub so that Linux users can download it easily. How do i do that ?

I did read some things about how to publish an app on Flathub, about the manifest file, and the permissions, so i’l put here a few thing about my game to be sure it will work on Flatpak :

  • The game needs to support internet connection for the gd.games leaderboard (though the game can totally work without internet, and i even integrated custom errors messages when trying to access menus that needs internet, including the leaderboard)
  • The game supports controllers, so the Flatpak version needs to have controller support (USB or Bluetooth)
  • The game haves Discord RPC, so the Flatpak version needs to be compatible with Discord RPC

And, since i saw in the documentation that the manifest file needs to include the runtime and window manager, i would also like to know what is the runtime and window manager for GDevelop games (Electron apps, since GDevelop games are packaged with Electron)