Skip to content

Add nightly build variant for Usagi - #76

Open
sang765 wants to merge 3 commits into
UsagiApp:develfrom
sang765:feat/nightly
Open

sang765 wants to merge 3 commits into
UsagiApp:develfrom
sang765:feat/nightly

Conversation

@sang765

@sang765 sang765 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds a nightly build variant to Usagi, similar to how Kotatsu implements it. It allows users to install and run a nightly version alongside the release build without conflicts.

Changes

Build Configuration ()

  • Added nightly build type initialized from release with a .nightly application ID suffix
  • Added dynamic versioning for nightly builds:
    • versionCode: YYMMDD format (e.g., 260803)
    • versionName: NYYYYMMDD format (e.g., N20260803)
  • Added LeakCanary dependency for nightly builds

Nightly Source Set

  • UsagiApp.kt: Custom Application class with configurable LeakCanary support via SharedPreferences
  • strings.xml: Nightly-specific app name and notification channel name

Benefits

  • Install nightly builds alongside release builds (different app IDs)
  • Automatic date-based versioning for easy tracking
  • Debug tools (LeakCanary) available in nightly builds

@sang765 sang765 added the enhancement New feature or request label Aug 3, 2026
@dragonx943 dragonx943 changed the title Draft: feat/nightly Add nightly build variant for Usagi Aug 3, 2026
- White background with gray tinted foreground
- Adaptive icon support for launcher and round variants
- TV banner support with same gray tint effect
@sang765
sang765 marked this pull request as ready for review August 3, 2026 18:14
@sang765
sang765 marked this pull request as draft August 3, 2026 19:30
@sang765 sang765 self-assigned this Aug 5, 2026
@sang765
sang765 marked this pull request as ready for review August 5, 2026 01:08
@sang765
sang765 requested a review from dragonx943 as a code owner August 5, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant