Haven/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

29 lines
1.1 KiB
Text

; Haven Server Inno Setup Script
[Setup]
AppName=Haven Server
AppVersion=2.4.0
AppPublisher=Amni
DefaultDirName={userappdata}\HavenServer
DefaultGroupName=Haven Server
UninstallDisplayIcon={app}\public\favicon.svg
Compression=lzma2/ultra64
SolidCompression=yes
OutputDir=dist
OutputBaseFilename=Haven-Server-Setup
PrivilegesRequired=lowest
DisableProgramGroupPage=yes
DisableDirPage=no
[Files]
Source: "*"; DestDir: "{app}"; Excludes: "node_modules,dist,.git,.github,.env,haven.db*,certs,uploads,*.exe,master-setup.iss"; Flags: recursesubdirs createallsubdirs ignoreversion
[Icons]
Name: "{group}\Start Haven Server"; Filename: "{app}\Start Haven.bat"; IconFilename: "{app}\public\favicon.svg"
Name: "{group}\Uninstall Haven"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Start Haven Server"; Filename: "{app}\Start Haven.bat"; Tasks: desktopicon
[Tasks]
Name: "desktopicon"; Description: "Create a desktop shortcut"; GroupDescription: "Additional icons:"
[Run]
Filename: "{app}\Install Haven.bat"; Description: "Launch Setup Wizard (Installs Node.js & Configures Server)"; Flags: postinstall nowait