Skip to content

Fix: installing this app no longer replaces other ehcrea calculator apps - #26

Merged
ehcrea merged 1 commit into
mainfrom
claude/project-thread-mq981r
Nov 22, 2026
Merged

ehcrea merged 1 commit into
mainfrom
claude/project-thread-mq981r

Conversation

@ehcrea

@ehcrea ehcrea commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Requested by Eren · project thread

Installing one ehcrea calculator as an app removed the one installed before. Cause: the manifest "id": "./" resolves against the origin, so every calculator on ehcrea.github.io had the same app id https://ehcrea.github.io/ and the browser treated them as one app.

The id is now this repository's own path (e.g. /cold-plate-calculator/); sw.js rebuilt. Service workers and caches were already separate (per-repo scope and cache prefix).

Verified in Chromium: the parsed manifest id is now different for all 8 calculators. Already-installed copies keep the old id, so uninstall and reinstall them once.


Generated by Claude Code

…r ehcrea calculators

The manifest id "./" resolves against the origin, so every calculator on
ehcrea.github.io had the same app id "https://ehcrea.github.io/" and
installing one replaced the other. The id is now this repository's path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtSyM8REeQdPhYZ6eSWmgc
@ehcrea
ehcrea merged commit deeb2a5 into main Nov 22, 2026
2 checks passed
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.

2 participants