First-run polish: installer and small wording #262

Closed
opened 2026-10-03 21:57:33 -04:00 by Salastil · 2 comments
Owner

Smaller things from walking a fresh Windows install (#246):

  • The installer says "Space required: 133.9 MB"; the installed app takes about 485 MB.
  • The installer's finish page uses the framework's stock artwork, not moho's.
  • The installer is unsigned, so a real browser download shows Windows SmartScreen's "Windows protected your PC" first. Not reproducible over SSH (no mark-of-the-web), but every real user sees it.
  • Matrix's logo in the add-account row is a miniature wordmark, unreadable beside the other services' icons.
  • A signed-out Kick viewer's footer says "Online" and shows microphone and headphone buttons it can't use.
Smaller things from walking a fresh Windows install (#246): - The installer says "Space required: 133.9 MB"; the installed app takes about 485 MB. - The installer's finish page uses the framework's stock artwork, not moho's. - The installer is unsigned, so a real browser download shows Windows SmartScreen's "Windows protected your PC" first. Not reproducible over SSH (no mark-of-the-web), but every real user sees it. - Matrix's logo in the add-account row is a miniature wordmark, unreadable beside the other services' icons. - A signed-out Kick viewer's footer says "Online" and shows microphone and headphone buttons it can't use.
Salastil added this to the v1.0 milestone 2026-10-03 21:57:33 -04:00
Salastil added the featurelow priority labels 2026-10-03 21:57:33 -04:00
Author
Owner

Partly done:

  • Done: a signed-out Kick viewer's footer now says "Watching, signed out", and the mute and deafen buttons only show on services with calls, or while a call is up.
  • Done: Matrix's icon is now its "[m]" mark.
  • Done: the installer and uninstaller sidebars show moho's icon and name.
  • Moved: the unsigned installer is now #264. Smart App Control blocks moho from starting at all, which is worse than the SmartScreen warning.
  • Not done: "Space required" still shows the archive's 134 MB. electron-builder's install section can't be reached from .onInit, neither by index nor by name. The size shown in Programs and Features was already correct (electron-builder's ESTIMATED_SIZE, about 491 MB).

https://git.salastil.com/Salastil/moho/commit/76eabac
https://git.salastil.com/Salastil/moho/commit/16fa8a2

Partly done: - **Done:** a signed-out Kick viewer's footer now says "Watching, signed out", and the mute and deafen buttons only show on services with calls, or while a call is up. - **Done:** Matrix's icon is now its "[m]" mark. - **Done:** the installer and uninstaller sidebars show moho's icon and name. - **Moved:** the unsigned installer is now #264. Smart App Control blocks moho from starting at all, which is worse than the SmartScreen warning. - **Not done:** "Space required" still shows the archive's 134 MB. electron-builder's install section can't be reached from `.onInit`, neither by index nor by name. The size shown in Programs and Features was already correct (electron-builder's ESTIMATED_SIZE, about 491 MB). https://git.salastil.com/Salastil/moho/commit/76eabac https://git.salastil.com/Salastil/moho/commit/16fa8a2
Author
Owner

Finished, except for "Space required", which I'm leaving because the cause is in electron-builder.

The installer's folder page says 134.1 MB, the compressed archive, where the installed app takes about 491 MB. electron-builder already has a step that sets the right size (setInstallSectionSpaceRequired, using APP_64_UNPACKED_SIZE) and calls it from .onInit, but the figure on the page never changes. I tried three things on the Windows VM and none changed it:

  • SectionSetSize with electron-builder's own ESTIMATED_SIZE in customInit (the section was not reachable there)
  • finding the section by name at run time
  • calling electron-builder's own function again from .onVerifyInstDir, as the folder page appears

None of these were committed. The size listed under Windows' installed apps (Programs and Features) was always correct. A real fix belongs upstream in electron-builder (NSIS templates, app-builder-lib 26.15.3).

The rest of this issue was done earlier: the Kick footer, the Matrix mark, the installer artwork, and the unsigned-installer item, which moved to #264.

Finished, except for "Space required", which I'm leaving because the cause is in electron-builder. The installer's folder page says 134.1 MB, the compressed archive, where the installed app takes about 491 MB. electron-builder already has a step that sets the right size (`setInstallSectionSpaceRequired`, using `APP_64_UNPACKED_SIZE`) and calls it from `.onInit`, but the figure on the page never changes. I tried three things on the Windows VM and none changed it: - `SectionSetSize` with electron-builder's own `ESTIMATED_SIZE` in `customInit` (the section was not reachable there) - finding the section by name at run time - calling electron-builder's own function again from `.onVerifyInstDir`, as the folder page appears None of these were committed. The size listed under Windows' installed apps (Programs and Features) was always correct. A real fix belongs upstream in electron-builder (NSIS templates, app-builder-lib 26.15.3). The rest of this issue was done earlier: the Kick footer, the Matrix mark, the installer artwork, and the unsigned-installer item, which moved to #264.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#262