From 13eef50a00112492acef13a4d8075553c44e2a78 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 12 Jun 2026 11:42:41 +0000 Subject: [PATCH] fix(windows): add DefaultIcon to Applications entry so "Open with" icon shows Both the MSI and the portable build were missing Applications\OpenCADStudio.exe\ DefaultIcon, causing a blank generic icon in the "Open with" context-menu list and the "Choose another app" picker. - packaging/windows/main.wxs: add Applications\OpenCADStudio.exe\DefaultIcon (+ FriendlyAppName, shell\open\command, SupportedTypes) to the DefaultPrograms component for MSI installs (HKLM). - src/io/file_association.rs: add DefaultIcon to the Applications\ OpenCADStudio.exe block written at runtime for portable builds (HKCU). https://claude.ai/code/session_01DFVSKgViFaxEjZD2KsTdtt --- packaging/windows/main.wxs | 39 ++++++++++++++++++++++++++++++++++++-- src/io/file_association.rs | 3 +++ 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/packaging/windows/main.wxs b/packaging/windows/main.wxs index 9183c8bd..b1878eda 100644 --- a/packaging/windows/main.wxs +++ b/packaging/windows/main.wxs @@ -112,13 +112,48 @@ next association query without a forced refresh. --> + + + + + + + Value='Open CAD Studio' />