Skip to content

fix(app): return an empty icon manifest before the first data sync#65

Merged
ApocDev merged 1 commit into
mainfrom
fix/icon-manifest-fresh-install
Jul 1, 2026
Merged

fix(app): return an empty icon manifest before the first data sync#65
ApocDev merged 1 commit into
mainfrom
fix/icon-manifest-fresh-install

Conversation

@ApocDev

@ApocDev ApocDev commented Jul 1, 2026

Copy link
Copy Markdown
Owner

On a fresh install (no icon atlas built yet), iconManifestFn read manifest.json unconditionally and threw ENOENT, surfacing an error to the client on every launch (visible in the console of a brand-new desktop install). Guard the read and return an empty manifest so icons fall back gracefully until a data sync builds the atlas.

Doubles as the version bump for a v0.4.5 so the (now working) in-app updater on v0.4.4 has a newer release to detect end-to-end.

iconManifestFn read manifest.json unconditionally, so a fresh install (no atlas yet)
surfaced an ENOENT to the client on every launch. Return an empty manifest instead —
icons fall back gracefully until a data sync builds the atlas.
@ApocDev
ApocDev merged commit b34cc42 into main Jul 1, 2026
1 check passed
@ApocDev
ApocDev deleted the fix/icon-manifest-fresh-install branch July 1, 2026 13:53
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