; Rosea Domi's installer hooks (.agents/features/fabrica-release.md F5; Fundamentum's Canalis, Part A). ; The installer registers domi-rosea://open for the current user, and the uninstaller removes it. ; Here and not at every start: the shell is a window and nothing else (CLAUDE.md ยง2), and a reinstall ; or Fabrica's Update all (/UPDATE in the same folder) runs this again, so the command follows the exe. ; The game reads no argument: any domi-rosea:// address opens the garden, and nothing else. !macro NSIS_HOOK_POSTINSTALL WriteRegStr HKCU "Software\Classes\domi-rosea" "" "URL:Rosea Domi" WriteRegStr HKCU "Software\Classes\domi-rosea" "URL Protocol" "" WriteRegStr HKCU "Software\Classes\domi-rosea\DefaultIcon" "" '"$INSTDIR\${MAINBINARYNAME}.exe",0' WriteRegStr HKCU "Software\Classes\domi-rosea\shell\open\command" "" '"$INSTDIR\${MAINBINARYNAME}.exe" "%1"' !macroend !macro NSIS_HOOK_POSTUNINSTALL DeleteRegKey HKCU "Software\Classes\domi-rosea" !macroend