Configuration Steps
- Install Dependencies
npm install - Configure Server Settings Edit
config.json:{ "svname": "Your Server Name", "ip": "CODE_FROM_CFX_URL", "useOverlay": false }Extract IP from
cfx.re/join/[CODE]– use only the alphanumeric code - Install Build Tools
npm install --save-dev electron-builder - Modify package.json
- Move
electronfromdependenciestodevDependencies - Add build script:
"build": "electron-builder"
- Move
- Add Build Configuration Insert after
scriptssection inpackage.json:
"build": { "appId": "Horizon Launcher",
"win": {
"target": ["nsis"],
"icon": "icon.ico"
},
"nsis": {
"oneClick": true,
"installerIcon": "icon.ico",
"uninstallerIcon": "icon.ico",
"uninstallDisplayName": "Horizon Launcher Uninstaller",
"license": "license.md",
"allowToChangeInstallationDirectory": false
},
"extraResources": [
{
"from": "node_modules/regedit/vbs",
"to": "regedit/vbs",
"filter": ["**/*"]
}
]
}
- Build Application
bash
npm run build
Technical Notes
Registry Dependencies: The regedit/vbs inclusion enables Windows registry modifications for FiveM configuration management.
NSIS Configuration: One-click installer prevents user directory selection to maintain consistent file paths for launcher functionality.
Support: Join Discord server for troubleshooting assistance (link in repository).
Horizon Launcher provides Electron-based FiveM server management with experimental in-game switching capabilities and automated Windows installer generation.
Gabriella (verified owner) –
Great resource for GTA RP servers.
Idell (verified owner) –
Just love the design and the customer support is the nicest.
Lauryn (verified owner) –
Perfect addition to our roleplay server.
Janet (verified owner) –
We tested several similar resources, but this one had the best combination of features, design, and performance.
Loma (verified owner) –
We have used this resource during multiple busy sessions, and it has remained stable.