windows-directory-installer.d.mts 740 B

123456789101112131415161718
  1. /** Types for the pinned NSIS directory installation adapter. */
  2. /**
  3. * Replace payload installation while preserving registration and uninstall UI.
  4. * @param source Pinned electron-builder installSection.nsh contents.
  5. * @returns Section with staged directory replacement.
  6. */
  7. export function directoryInstallSection(source: string): string
  8. /**
  9. * Clean staged directories on upstream Quit paths, including silent installers.
  10. * @param source Pinned NSIS helper source.
  11. * @returns Helper with cleanup before installer exits.
  12. */
  13. export function directoryInstallerExits(source: string): string
  14. /** Install the build-only adapter while retaining signed uninstaller generation. */
  15. export function installWindowsDirectoryInstaller(): void