[PR #7346] [MERGED] feat: integrate version checker for Linux #7842

Closed
opened 2026-03-23 23:21:26 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7346
Author: @LucasXu0
Created: 2/10/2025
Status: Merged
Merged: 2/10/2025
Merged by: @LucasXu0

Base: mainHead: auto_updater_linux


📝 Commits (7)

  • e6b6bdf feat: integrate auto_updater in macOS
  • f516e7b chore: update translations
  • 9a31923 chore: bump auto_updater version
  • a14d8d5 feat: exclude linux platform in auto update task
  • fc2fe90 feat: support auto_updater on Linux
  • 8a08805 Merge branch 'main' into auto_updater_linux
  • da9af6d chore: combine version checker and auto updater into same class

📊 Changes

7 files changed (+147 additions, -37 deletions)

View changed files

frontend/appflowy_flutter/lib/shared/version_checker/version_checker.dart (+89 -0)
📝 frontend/appflowy_flutter/lib/startup/tasks/auto_update_task.dart (+42 -28)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/about/app_version.dart (+9 -5)
📝 frontend/appflowy_flutter/pubspec.lock (+1 -1)
📝 frontend/appflowy_flutter/pubspec.yaml (+1 -0)
📝 frontend/resources/translations/en.json (+3 -1)

📄 Description

Feature Preview

The auto_updater package isn't supported on Linux, so we use version checker instead.

  • enable version checker on Linux
  • force update
  • sidebar banner
  • "about appflowy" section in settings page

Screenshot from 2025-02-10 13-03-11
Screenshot from 2025-02-10 13-03-03


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • 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/7346 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 2/10/2025 **Status:** ✅ Merged **Merged:** 2/10/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `auto_updater_linux` --- ### 📝 Commits (7) - [`e6b6bdf`](https://github.com/AppFlowy-IO/AppFlowy/commit/e6b6bdff89e12156f16ebe7012c50b9b6c86138a) feat: integrate auto_updater in macOS - [`f516e7b`](https://github.com/AppFlowy-IO/AppFlowy/commit/f516e7b78d74740cfeaa20693e2867d333da41b6) chore: update translations - [`9a31923`](https://github.com/AppFlowy-IO/AppFlowy/commit/9a31923c760867d38a36777e39884afb3fc4b476) chore: bump auto_updater version - [`a14d8d5`](https://github.com/AppFlowy-IO/AppFlowy/commit/a14d8d539fa9a59ad0e9968f26cc8c8ce2ba582e) feat: exclude linux platform in auto update task - [`fc2fe90`](https://github.com/AppFlowy-IO/AppFlowy/commit/fc2fe90a3982b85a3d7275121055cb664397672d) feat: support auto_updater on Linux - [`8a08805`](https://github.com/AppFlowy-IO/AppFlowy/commit/8a088055bb72f9e2faa5b1ac52bbd74996a82141) Merge branch 'main' into auto_updater_linux - [`da9af6d`](https://github.com/AppFlowy-IO/AppFlowy/commit/da9af6d1b73e97e248a2d1f61bfe8e449788fa5d) chore: combine version checker and auto updater into same class ### 📊 Changes **7 files changed** (+147 additions, -37 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/lib/shared/version_checker/version_checker.dart` (+89 -0) 📝 `frontend/appflowy_flutter/lib/startup/tasks/auto_update_task.dart` (+42 -28) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/about/app_version.dart` (+9 -5) 📝 `frontend/appflowy_flutter/pubspec.lock` (+1 -1) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+1 -0) 📝 `frontend/resources/translations/en.json` (+3 -1) </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 > The auto_updater package isn't supported on Linux, so we use version checker instead. - [x] enable version checker on Linux - [x] force update - [x] sidebar banner - [x] "about appflowy" section in settings page ![Screenshot from 2025-02-10 13-03-11](https://github.com/user-attachments/assets/ca4dc1e5-313a-42a9-acc5-9dcc5f738faa) ![Screenshot from 2025-02-10 13-03-03](https://github.com/user-attachments/assets/9fccf2ab-c690-4c6b-8998-6eaa17bab07e) <!--- 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 [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] 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 23:21:26 +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#7842
No description provided.