testsAndMisc/python_pkg/app_icons/tests
Krzysztof kuhy Rudnicki 7f2c1e19df
Some checks failed
Pre-commit checks / pre-commit (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Python tests / test (push) Has been cancelled
app_icons: auto-sync pubspec.yaml's adaptive_icon_background
style.BACKGROUND changing doesn't help if flutter_launcher_icons reads a
stale value from pubspec.yaml's own independent config -- that's exactly
what just happened across all 6 apps during the warm-palette rollout: the
generated PNG assets were correct, but Android's actual home-screen icon
(the adaptive icon: background color + foreground drawable, not the
legacy ic_launcher.png mipmap) stayed on the old color, invisible until a
physical device check caught it.

sync_pubspec_background() now rewrites the line in place before every
run_flutter_launcher_icons() call, so this can't silently drift again.

Verified: 43/43 tests (4 new), 100% line+branch coverage on generate.py.
2026-07-21 21:38:22 +02:00
..
__init__.py Add shared launcher-icon generator for the Flutter apps 2026-07-19 16:55:48 +02:00
test_cli.py Add shared launcher-icon generator for the Flutter apps 2026-07-19 16:55:48 +02:00
test_generate.py app_icons: auto-sync pubspec.yaml's adaptive_icon_background 2026-07-21 21:38:22 +02:00
test_main_entry.py Add shared launcher-icon generator for the Flutter apps 2026-07-19 16:55:48 +02:00
test_preview.py Add shared launcher-icon generator for the Flutter apps 2026-07-19 16:55:48 +02:00
test_registry.py app_icons: warm-tint the shared icon family palette 2026-07-21 21:20:41 +02:00
test_render.py Add shared launcher-icon generator for the Flutter apps 2026-07-19 16:55:48 +02:00