johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
12k stars 933 forks source link

Standardize App Name Across Platforms (#3576) #3579

Closed jiongxuan closed 1 month ago

jiongxuan commented 1 month ago

Description

This PR standardizes the application name across platforms to improve brand consistency.

The app name is now set to Super Productivity on Mac, and Super Prod on Android to avoid truncation issues.

Issues Resolved

Check List

jiongxuan commented 1 month ago

Please hold on for a moment. I’ve discovered that changing the app name on Mac results in the creation of two different apps, which prevents upgrade installations. I’ll investigate further, and if this issue cannot be resolved, I will proceed with modifying only the Android name for now, without changing the Mac name.

jiongxuan commented 1 month ago

The compatibility issue with renaming has turned out to be far more complex than I initially thought. I’ve tried the following approaches:

  1. Using CFBundleDisplayName to modify directly: It had no effect; the app name didn’t change.
  2. Using InfoPlist.strings with localization: The files weren’t properly copied, and it didn’t work.
  3. Using extraResources to copy the files: The localization files weren’t applied as expected.
  4. Using an afterPack hook to manually modify Info.plist: It was overly complex and produced unstable results.

Since none of these solutions resolved the issue, and for the sake of stability, I will resubmit this PR, only changing the Android app name, leaving other platforms unchanged. I’ll revisit this in the future if a better solution is found.

New PR: https://github.com/johannesjo/super-productivity/pull/3580 (android only)

johannesjo commented 1 month ago

Thanks for digging into this!