Files
Fractured/tools/fractured-launcher-electron/package.json
T
Docker Build 6c4d7244c3 fix(launcher): add missing gitea-release and patch-manifest to repo
These modules were required by main.js / auto-update.js / github.js but never
committed, so packaged builds lacked them and crashed at startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 19:08:55 -05:00

64 lines
1.6 KiB
JSON

{
"name": "fractured-launcher-electron",
"version": "1.0.1",
"description": "Fractured WoW launcher (Electron) — no console window, native folder picker, auto-update",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/Dawnforger/Fractured.git"
},
"scripts": {
"start": "electron .",
"pack:win": "node scripts/inject-release-channel.js && electron-builder --win nsis portable --x64 --publish never",
"publish:win": "node scripts/inject-release-channel.js && electron-builder --win nsis portable --x64 --publish never"
},
"author": "",
"license": "GPL-3.0",
"devDependencies": {
"electron": "^33.2.1",
"electron-builder": "^25.1.8"
},
"dependencies": {
"electron-updater": "^6.3.9"
},
"build": {
"appId": "net.fractured.launcher",
"productName": "Fractured Launcher",
"directories": {
"output": "dist"
},
"publish": null,
"files": [
"main.js",
"preload.cjs",
"index.html",
"renderer.js",
"styles.css",
"default-launcher.json",
"lib/gitea-release.js",
"lib/patch-manifest.js",
"lib/**/*"
],
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
},
{
"target": "portable",
"arch": ["x64"]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"artifactName": "Fractured-Launcher-${version}-Setup.${ext}"
},
"portable": {
"artifactName": "Fractured-Launcher-${version}-Windows-Portable.${ext}"
}
}
}