build/installer.nsh, picked up by electron-builder: - Uninstalling asks whether to remove the accounts, their saved sign-ins and the history kept here (Roaming\moho, Roaming\nobilis, Local\nobilis). No by default and in a silent uninstall; never on an upgrade, which runs the old uninstaller too. The 133 MB moho-updater download cache always goes. Before, all of it stayed, unasked. - The daemon is stopped before files are replaced or removed: it outlives the window by design and holds nobilis.exe open. On install, once Install is pressed (customCheckAppRunning, then electron-builder's own check) - not when the installer opens, or opening it and cancelling cut a running moho off from its daemon. On uninstall, once confirmed. - installerSidebar/uninstallerSidebar.bmp: moho's icon and name in place of NSIS's stock artwork. Checked on the Windows VM: upgrade over a running moho, daemon alive until Install, then stopped; uninstall asks, Yes removes every folder. Not done: "Space required" still shows the archive's 134 MB. SectionSetSize from .onInit does not reach electron-builder's install section (it is not found by index or by name at that point). Co-Authored-By: Claude Opus 5.5 <[email protected]>
151 KiB
164x314px
151 KiB
164x314px