mirror of
https://github.com/ancsemi/Haven
synced 2026-04-21 13:37:41 +00:00
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
29 lines
1.1 KiB
Text
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
|