fix: bundle icons + set app window icon and Windows AppUserModelID (#20)
This commit is contained in:
@@ -1326,3 +1326,18 @@ def test_health_from_spawn_result_failed_without_stderr_has_no_dash():
|
||||
}
|
||||
_, summary = c.health_from_spawn_result(result)
|
||||
assert "—" not in summary
|
||||
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
# App icon assets present (issue #20 — icons must exist to be bundled/loaded)
|
||||
# --------------------------------------------------------------------------- #
|
||||
def test_app_icon_assets_present():
|
||||
from pathlib import Path
|
||||
|
||||
root = Path(c.__file__).resolve().parent
|
||||
rounded = root / "icons" / "twin-gears" / "rounded"
|
||||
# The window-icon builder in bcc.py loads these sizes; keep them present.
|
||||
for size in (16, 32, 128, 256):
|
||||
assert (rounded / f"icon-{size}.png").is_file(), f"missing icon-{size}.png"
|
||||
assert (root / "icons" / "app.ico").is_file()
|
||||
assert (root / "icons" / "app.icns").is_file()
|
||||
|
||||
Reference in New Issue
Block a user