Skip to content

feat: upgrade Flatpak runtime to 25.08#212

Open
zakweb3 wants to merge 1 commit into
open-webui:mainfrom
zakweb3:build/flatpak_runtime_25.08
Open

feat: upgrade Flatpak runtime to 25.08#212
zakweb3 wants to merge 1 commit into
open-webui:mainfrom
zakweb3:build/flatpak_runtime_25.08

Conversation

@zakweb3
Copy link
Copy Markdown

@zakweb3 zakweb3 commented May 20, 2026

Description

  • Bumps the Flatpak runtime (org.freedesktop.Platform) from the deprecated 23.08 to 25.08.
  • Updated flatpak.baseVersion and runtimeVersion in electron-builder.yml from '23.08' to '25.08'
  • Adds dedicated build:flatpak npm script for building .flatpak bundles
  • Generates bundle at dist/open-webui.flatpak (~92 MB)
  • I installed/tested the generated the flatpak bundle on my laptop and it is working properly.
  • The next step would be testing this change on the CI/CD Github pipeline.

Install required runtime and SDK

sudo apt-get update && sudo apt-get install -y flatpak flatpak-builder 
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user install -y flathub org.freedesktop.Platform//25.08 org.freedesktop.Sdk//25.08 org.electronjs.Electron2.BaseApp//25.08 

Build Process

 npm install
 npm run build:flatpak

Related Issues

  • The main issue this PR resolves for me was the dependency on the deprecated 23.08 runtime, I didn't wanted to install that dependency.
  • The size of the Flathub version of this app for some reason is around 800 MB, I didn't wanted to download that.

Contributor License Agreement

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.

- Bump flatpak.baseVersion and runtimeVersion from 23.08 to 25.08
- Add build:flatpak npm script
- Updated package-lock.json with dependency resolution

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant