/PaimonMenuBar

Paimon's now in your macOS menu bar!

Primary LanguageSwiftMIT LicenseMIT

logo

PaimonMenuBar

Paimon's now in your menu bar!

Use Swift macOS 12.0+ GitHub Release

Demo

Screenshot

What's this?

Genshin Impact has got a complicated daily (weekly) system, consisting of:

  • 4 Daily commisions.
  • 5 Expeditions.
  • 3~6 Weekly bosses.
  • and most importantly - Resin - capped at 160.

Keeping track of these things daily to decide whether it is time to log into Genshin Impact is a pain-in-the-ass. Hence, I present: PaimonMenuBar.

PaimonMenuBar is a native SwiftUI app living only in your macOS menu bar. Paimon will periodically pulls data from the Mihoyo API to update your latest in-game statistics - so you can decide whether it's time to continue the grind in that stupid artifact domain ;).

Download

GitHub Release

TO-DO

  • Menu bar of varying height.
  • Configurable data refresh rate.
  • Start at login.
  • i18n support for at least Simplified Chinese and English.
  • Manual refresh button.
  • Code-sign and publish as .dmg.
  • Auto-updates and check for update.
  • Custom website and help for acquiring the cookie.
  • Help button beside the text field for entering the cookie.
  • Support for cn and global genshin accounts (米游社 and hoyolab).
  • Better first-time installation experience (guidance for initial setup).
  • Backward-compatibility for macOS 11.0.
  • Support for multiple accounts?

Releasing a new version

  • Create a build in Xcode, bump the build number, and notarize build.

  • Create a new release on GitHub with a new version tag and increment the build number.

  • Use create-dmg to create the .dmg file:

    create-dmg PaimonMenuBar.app
  • Update appcast.xml with the new version tag and build number:

    cd <PATH_TO_SPARKLE>/artifacts/sparkle/bin
    ./generate_appcast <PATH_TO_PROJECT>/PaimonMenuBar/Build/
    
  • Profit.

Credits and related

License

MIT

made with ❤️ by spencer woo