Split the shared code into a core module
The Yandex Music client, the player, the app state and the stores move from the TV app to :core (it.panov.musyx.*), so a phone app can build on them. The TV app becomes :tv with the same application id. CoverHues, SessionPlayer and the strings the state layer shows move with them; LRCLIB's user agent is set by each app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
90ac73facc
commit
4c978efa80
121 files changed
+464
-397
No files matched your search
@@ -7,7 +7,7 @@
|
||||
(run tool/make_icon.py first if it changes).
|
||||
|
||||
Needs Pillow (pip install Pillow), unlike make_icon.py, because it sets type.
|
||||
Usage: python3 tool/make_tv_assets.py [app/src/main/res]
|
||||
Usage: python3 tool/make_tv_assets.py [tv/src/main/res]
|
||||
"""
|
||||
import sys
|
||||
from pathlib import Path
|
||||
@@ -87,4 +87,4 @@ def main(res):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(sys.argv[1] if len(sys.argv) > 1 else ROOT / "app/src/main/res")
|
||||
main(sys.argv[1] if len(sys.argv) > 1 else ROOT / "tv/src/main/res")
|
||||
@@ -5,7 +5,7 @@ Lucide draws everything in `currentColor`. The drawables keep that idea: every s
|
||||
is plain white, which Compose's `Icon(tint = ...)` replaces with a theme token, so no design
|
||||
colour is baked in. Path data is re-tokenised so arc flags and packed numbers are unambiguous.
|
||||
|
||||
Usage: python3 tool/svg_to_vector.py [assets/icons] [app/src/main/res/drawable]
|
||||
Usage: python3 tool/svg_to_vector.py [assets/icons] [tv/src/main/res/drawable]
|
||||
"""
|
||||
import re
|
||||
import sys
|
||||
@@ -130,5 +130,5 @@ def main(src, dst):
|
||||
if __name__ == "__main__":
|
||||
main(
|
||||
sys.argv[1] if len(sys.argv) > 1 else ROOT / "assets/icons",
|
||||
sys.argv[2] if len(sys.argv) > 2 else ROOT / "app/src/main/res/drawable",
|
||||
sys.argv[2] if len(sys.argv) > 2 else ROOT / "tv/src/main/res/drawable",
|
||||
)
|
||||
Reference in new issue
Block a user