[PR #3248] [MERGED] feat: support AppImage #5644

Closed
opened 2026-03-23 22:19:39 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3248
Author: @LucasXu0
Created: 8/22/2023
Status: Merged
Merged: 8/23/2023
Merged by: @LucasXu0

Base: mainHead: appimage


📝 Commits (6)

  • 7a688b3 feat: add build deb shell script
  • 86003d1 feat: update release.yml
  • 572fa47 chore: add flatpak readme
  • 6f80a70 feat: support appimage builder
  • c20f696 feat: support appimage builder
  • 152fd9e Update release.yml

📊 Changes

20 files changed (+260 additions, -39 deletions)

View changed files

📝 .github/workflows/release.yml (+6 -26)
📝 .gitignore (+4 -0)
frontend/appflowy_flutter/linux/appflowy.desktop.temp (+0 -8)
📝 frontend/scripts/code_generation/flowy_icons/generate_flowy_icons.sh (+0 -0)
frontend/scripts/linux_distribution/appimage/AppImageBuilder.yml (+76 -0)
frontend/scripts/linux_distribution/appimage/build_appimage.sh (+18 -0)
frontend/scripts/linux_distribution/appimage/io.appflowy.AppFlowy.desktop (+0 -0)
frontend/scripts/linux_distribution/deb/AppFlowy.desktop (+10 -0)
frontend/scripts/linux_distribution/deb/DEBIAN/control (+8 -0)
frontend/scripts/linux_distribution/deb/DEBIAN/postinst (+8 -0)
frontend/scripts/linux_distribution/deb/DEBIAN/postrm (+5 -0)
frontend/scripts/linux_distribution/deb/README.md (+18 -0)
frontend/scripts/linux_distribution/deb/build_deb.sh (+42 -0)
frontend/scripts/linux_distribution/flatpak/README.md (+1 -0)
frontend/scripts/linux_distribution/packaging/appflowy.svg (+11 -0)
frontend/scripts/linux_distribution/packaging/io.appflowy.AppFlowy.launcher.desktop (+6 -0)
frontend/scripts/linux_distribution/packaging/io.appflowy.AppFlowy.metainfo.xml (+38 -0)
frontend/scripts/linux_distribution/packaging/io.appflowy.AppFlowy.service (+3 -0)
frontend/scripts/linux_distribution/packaging/launcher.sh (+4 -0)
📝 frontend/scripts/makefile/flutter.toml (+2 -5)

📄 Description

Feature Preview

  • refactor the deb build to support deep link
  • support AppImage distribution.

Deb distribution

Prerequisites

  • install dpkg-deb
  • make sure you have built the app for Linux which is located in frontend/appflowy_flutter/production/$VERSION/linux/Release/
sh scripts/linux_distribution/deb/build_deb.sh appflowy_flutter/product/0.2.9/linux/Release 0.2.9 AppFlowy_0.2.9.deb

Flatpak distribution

git clone https://github.com/flathub/io.appflowy.AppFlowy
cd io.appflowy.AppFlowy
flatpak-builder --user --install --force-clean build-dir io.appflowy.AppFlowy.yml

AppImage distribution

sh scripts/linux_distribution/appimage/build_appimage.sh 0.2.9

PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/3248 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 8/22/2023 **Status:** ✅ Merged **Merged:** 8/23/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `appimage` --- ### 📝 Commits (6) - [`7a688b3`](https://github.com/AppFlowy-IO/AppFlowy/commit/7a688b316f34032fb7b7c14db13cf71a5d60f20b) feat: add build deb shell script - [`86003d1`](https://github.com/AppFlowy-IO/AppFlowy/commit/86003d1066d4d4cd9373bb4149b92ea53b311bf7) feat: update release.yml - [`572fa47`](https://github.com/AppFlowy-IO/AppFlowy/commit/572fa47c2e2b9cd0d0f5d02d10a19514a44d58e3) chore: add flatpak readme - [`6f80a70`](https://github.com/AppFlowy-IO/AppFlowy/commit/6f80a703879a3251f77fb2539666f1f06f41ead3) feat: support appimage builder - [`c20f696`](https://github.com/AppFlowy-IO/AppFlowy/commit/c20f696c28cfef84e647eb37224baca3edbaf613) feat: support appimage builder - [`152fd9e`](https://github.com/AppFlowy-IO/AppFlowy/commit/152fd9e0acd775a478fd8adc7404bea8c8f3daea) Update release.yml ### 📊 Changes **20 files changed** (+260 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+6 -26) 📝 `.gitignore` (+4 -0) ➖ `frontend/appflowy_flutter/linux/appflowy.desktop.temp` (+0 -8) 📝 `frontend/scripts/code_generation/flowy_icons/generate_flowy_icons.sh` (+0 -0) ➕ `frontend/scripts/linux_distribution/appimage/AppImageBuilder.yml` (+76 -0) ➕ `frontend/scripts/linux_distribution/appimage/build_appimage.sh` (+18 -0) ➕ `frontend/scripts/linux_distribution/appimage/io.appflowy.AppFlowy.desktop` (+0 -0) ➕ `frontend/scripts/linux_distribution/deb/AppFlowy.desktop` (+10 -0) ➕ `frontend/scripts/linux_distribution/deb/DEBIAN/control` (+8 -0) ➕ `frontend/scripts/linux_distribution/deb/DEBIAN/postinst` (+8 -0) ➕ `frontend/scripts/linux_distribution/deb/DEBIAN/postrm` (+5 -0) ➕ `frontend/scripts/linux_distribution/deb/README.md` (+18 -0) ➕ `frontend/scripts/linux_distribution/deb/build_deb.sh` (+42 -0) ➕ `frontend/scripts/linux_distribution/flatpak/README.md` (+1 -0) ➕ `frontend/scripts/linux_distribution/packaging/appflowy.svg` (+11 -0) ➕ `frontend/scripts/linux_distribution/packaging/io.appflowy.AppFlowy.launcher.desktop` (+6 -0) ➕ `frontend/scripts/linux_distribution/packaging/io.appflowy.AppFlowy.metainfo.xml` (+38 -0) ➕ `frontend/scripts/linux_distribution/packaging/io.appflowy.AppFlowy.service` (+3 -0) ➕ `frontend/scripts/linux_distribution/packaging/launcher.sh` (+4 -0) 📝 `frontend/scripts/makefile/flutter.toml` (+2 -5) </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview - [x] refactor the deb build to support deep link - [x] support AppImage distribution. #### Deb distribution **Prerequisites** - install dpkg-deb - make sure you have built the app for Linux which is located in `frontend/appflowy_flutter/production/$VERSION/linux/Release/` ```bash sh scripts/linux_distribution/deb/build_deb.sh appflowy_flutter/product/0.2.9/linux/Release 0.2.9 AppFlowy_0.2.9.deb ``` #### Flatpak distribution ```bash git clone https://github.com/flathub/io.appflowy.AppFlowy cd io.appflowy.AppFlowy flatpak-builder --user --install --force-clean build-dir io.appflowy.AppFlowy.yml ``` #### AppImage distribution ```bash sh scripts/linux_distribution/appimage/build_appimage.sh 0.2.9 ``` <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [x] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:19:39 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#5644
No description provided.