Skip to content

Release 0.3.11: recognise TV-Store's own catalog entry under a renamed package id - #40

Merged
PatrickSt1991 merged 2 commits into
mainfrom
fix/self-under-renamed-package-id
Oct 29, 2026
Merged

PatrickSt1991 merged 2 commits into
mainfrom
fix/self-under-renamed-package-id

Conversation

@PatrickSt1991

@PatrickSt1991 PatrickSt1991 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Companion to Apps2Samsung's "Arm TV-Store: find a TV-Store installed under a new package id" PR.

Apps2Samsung can install TV-Store under a new package id (#839 there; a tester's set lists it as KUW3HHjMUR.Store). The rename rewrites the package part of every id and leaves the application part and the name alone.

self() matched TV-Store's own catalog entry by package id only, so a renamed copy never found itself: no self-update notice, ever. It now also matches on the application part of the id (Store) plus the entry name.

A renamed copy must not update itself from here: the install would go out under the catalog's A2STVStore and land a second TV-Store next to the renamed one. So when the catalog has a newer version and this copy runs under another package id, the home screen shows the version notice without the Update button and sends the user to Apps2Samsung (On the TV, Update), which remembers the renamed id and updates the right tile.

Verified: node --check on app.js and the repo's test runner pass. Not run on the tester's TV.

Version

Bumped to 0.3.11 (config.xml, app.js VERSION, README status table), so the release workflow's tag check passes on v0.3.11.

Apps2Samsung can install TV-Store under a new package id (its "Install under a
new package id" option rewrites the package part of every id). self() matched
the catalog entry by package id only, so such a copy never saw its own entry
and the self-update notice never showed.

self() now also matches by the application part of the id, which the rename
keeps, plus the entry name. A renamed copy cannot update itself: an install
from here would land a second TV-Store under the catalog id. So instead of the
Update button it tells the user to update from Apps2Samsung, which remembers
the renamed id and updates the right tile.
@PatrickSt1991 PatrickSt1991 changed the title Recognise TV-Store's own catalog entry under a renamed package id Release 0.3.11: recognise TV-Store's own catalog entry under a renamed package id Oct 29, 2026
@PatrickSt1991
PatrickSt1991 merged commit 62d3bf9 into main Oct 29, 2026
1 check passed
@PatrickSt1991
PatrickSt1991 deleted the fix/self-under-renamed-package-id branch October 29, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant