[PR #7706] [MERGED] feat: customize app name, app icon and font on Windows #8054

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7706
Author: @LucasXu0
Created: 4/8/2025
Status: Merged
Merged: 4/9/2025
Merged by: @LucasXu0

Base: mainHead: self_hosted_windows


📝 Commits (1)

  • af8ac05 feat: support white label on windows

📊 Changes

12 files changed (+481 additions, -23 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/shared/error_page/error_page.dart (+18 -16)
📝 frontend/appflowy_flutter/lib/workspace/application/notification/notification_service.dart (+3 -4)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_shortcuts_view.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_appflowy_cloud.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart (+1 -1)
frontend/scripts/white_label/i18n_white_label.sh (+103 -0)
frontend/scripts/white_label/icon_white_label.sh (+84 -0)
frontend/scripts/white_label/resources/my_company_logo.ico (+0 -0)
frontend/scripts/white_label/resources/my_company_logo.png (+0 -0)
frontend/scripts/white_label/resources/my_company_logo.svg (+1 -0)
frontend/scripts/white_label/white_label.sh (+118 -0)
frontend/scripts/white_label/windows_white_label.sh (+151 -0)

📄 Description

Feature Preview

  • Shared
    • i18n
    • icon
    • font
  • Windows
    • Runner.rc
    • app_icon.ico
    • CMakeLists.txt
    • main.cpp

How to use it

sh scripts\white_label\white_label.sh --app-name "MyApplicationName"  \
--app-identifier "com.mycompany.myapplication" \
--company-name "MyCompany Ltd." \
--copyright "Copyright © 2025 MyCompanyLtd." \
--icon-path scripts\white_label\resources\icons\logo.svg \
--windows-icon-path scripts\white_label\resources\windows\logo\logo.ico \
--font-path scripts\white_label\resources\font\FontName.ttf \
--font-name FontName \
--platforms "windows" 

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.

Summary by Sourcery

Add white labeling support for Windows platform, enabling customization of app name, icon, and font

New Features:

  • Introduce white labeling scripts to customize application branding across different platforms
  • Add support for customizing Windows application metadata and icon

Enhancements:

  • Create flexible shell scripts for white labeling application resources
  • Improve localization and branding customization capabilities

Chores:

  • Add new scripts for white labeling in frontend/scripts/white_label directory
  • Update various configuration files to support dynamic branding

🔄 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/7706 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 4/8/2025 **Status:** ✅ Merged **Merged:** 4/9/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `self_hosted_windows` --- ### 📝 Commits (1) - [`af8ac05`](https://github.com/AppFlowy-IO/AppFlowy/commit/af8ac05b27b8606e4a947a028d05bb3236cd9574) feat: support white label on windows ### 📊 Changes **12 files changed** (+481 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/shared/error_page/error_page.dart` (+18 -16) 📝 `frontend/appflowy_flutter/lib/workspace/application/notification/notification_service.dart` (+3 -4) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_shortcuts_view.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_appflowy_cloud.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart` (+1 -1) ➕ `frontend/scripts/white_label/i18n_white_label.sh` (+103 -0) ➕ `frontend/scripts/white_label/icon_white_label.sh` (+84 -0) ➕ `frontend/scripts/white_label/resources/my_company_logo.ico` (+0 -0) ➕ `frontend/scripts/white_label/resources/my_company_logo.png` (+0 -0) ➕ `frontend/scripts/white_label/resources/my_company_logo.svg` (+1 -0) ➕ `frontend/scripts/white_label/white_label.sh` (+118 -0) ➕ `frontend/scripts/white_label/windows_white_label.sh` (+151 -0) </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] Shared - [x] i18n - [x] icon - [x] font - [x] Windows - [x] Runner.rc - [x] app_icon.ico - [x] CMakeLists.txt - [x] main.cpp #### How to use it ```bash sh scripts\white_label\white_label.sh --app-name "MyApplicationName" \ --app-identifier "com.mycompany.myapplication" \ --company-name "MyCompany Ltd." \ --copyright "Copyright © 2025 MyCompanyLtd." \ --icon-path scripts\white_label\resources\icons\logo.svg \ --windows-icon-path scripts\white_label\resources\windows\logo\logo.ico \ --font-path scripts\white_label\resources\font\FontName.ttf \ --font-name FontName \ --platforms "windows" ``` <!--- 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. ## Summary by Sourcery Add white labeling support for Windows platform, enabling customization of app name, icon, and font New Features: - Introduce white labeling scripts to customize application branding across different platforms - Add support for customizing Windows application metadata and icon Enhancements: - Create flexible shell scripts for white labeling application resources - Improve localization and branding customization capabilities Chores: - Add new scripts for white labeling in frontend/scripts/white_label directory - Update various configuration files to support dynamic branding --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:22:23 +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#8054
No description provided.