Haven/master-setup.iss
anmire 544824d9a7
feat: One-click installer, FCM mobile push notifications, push relay (#109)
Contributed by @anmire.

- One-Click Installer: Windows (.bat bootstrap + PowerShell WPF wizard), Linux/macOS (bash with package-manager auto-detect), web-based setup UI (installer/server.js + installer/index.html), Inno Setup script for Windows .exe
- FCM Mobile Push Notifications: src/fcm.js module supporting direct mode (Firebase service account), custom relay mode, or automatic Haven Global Relay fallback. No new runtime dependencies (uses existing jsonwebtoken). Hooks into sendPushNotifications alongside existing web-push.
- Push Relay: haven-push-relay/ — standalone Express relay server + Firebase Cloud Function for self-hosted relay deployments
2026-03-01 21:27:58 -05:00

26 lines
927 B
Text

; Master Installer for Haven Suite (Desktop App + Server Hosting)
[Setup]
AppName=Haven
AppVersion=2.4.0
AppPublisher=Amni
DefaultDirName={userappdata}\HavenSetupTemp
DisableProgramGroupPage=yes
DisableDirPage=yes
Uninstallable=no
Compression=lzma2/ultra64
SolidCompression=yes
OutputDir=dist
OutputBaseFilename=Haven-Full-Installer
PrivilegesRequired=lowest
[Files]
Source: "dist\Haven-Desktop-Setup.exe"; DestDir: "{tmp}"; Flags: ignoreversion
Source: "dist\Haven-Server-Setup.exe"; DestDir: "{tmp}"; Flags: ignoreversion
[Run]
; Run Desktop Installer silently (the NSIS electron-builder output supports /S)
Filename: "{tmp}\Haven-Desktop-Setup.exe"; Parameters: "/S"; StatusMsg: "Installing Haven Desktop App..."
; Ask the user if they want to install the Server hosting
Filename: "{tmp}\Haven-Server-Setup.exe"; Description: "Install Haven Server (Optional - Host your own server)"; Flags: postinstall nowait unchecked