Skip to content

feat: give associated Markdown files a dedicated document icon - #652

Merged
Azganoth merged 1 commit into
mainfrom
feature/markdown-document-icon
Oct 5, 2026
Merged

Azganoth merged 1 commit into
mainfrom
feature/markdown-document-icon

Conversation

@Azganoth

@Azganoth Azganoth commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

Markdown files associated with Leafdown use the approved folded-page icon with the green leaf above the Markdown symbol. Both Windows installers bundle it separately and register its quoted path, preserving the application icon and the user's default-app choice.

Leafdown Markdown document icon

Related Issue

Closes #651

Verification

  • pnpm check:backend passes, covering bundled icon registration, ICO frame dimensions, and existing file-association consent behavior.
  • pnpm tauri build --bundles 'nsis,msi' builds both release installers. MSI extraction and the generated NSIS script confirm the installed filename, registered path, and uninstall ownership; the extracted MSI icon matches the approved asset.
  • Scripted Windows 11 Pro checks using native LoadImage and GetIconInfo load every supplied ICO size at its requested dimensions. The MSI's application icon matches the existing asset.
  • pnpm check:frontend passes formatting, lint, the production build, tests, and coverage. git diff --check passes.
  • Windows CI passes pnpm test:e2e:desktop:run -- --workers 1 against the current head, including clean teardown.

Not verified: installed Explorer rendering and icon-cache refresh, or install/upgrade/reinstall/repair/uninstall scenarios on a Windows test machine.

@Azganoth Azganoth added the Feature New feature or request label Oct 5, 2026
@Azganoth Azganoth self-assigned this Oct 5, 2026
@Azganoth
Azganoth merged commit c3b8e7b into main Oct 5, 2026
7 of 9 checks passed
@Azganoth
Azganoth deleted the feature/markdown-document-icon branch October 5, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Use a dedicated Markdown document icon for Windows file associations

1 participant