id: icon-install-pattern topic: patterns title: First-run detection — internalStorage flags vs quickAppVariables pins: - tests/test_hc3.py::test_example_icon_install_uploads_on_fresh_install verified: flua 0.1.170


First-run detection — internalStorage flags vs quickAppVariables

examples/iconInstall.lua is the living pattern for "do this once after a fresh install":

Pinned end to end against the mock HC3: fresh install uploads, a restart with the flag skips, a stale flag re-installs.