mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-20 17:07:59 +00:00
Includes WebUI fix e48baa1 (missing HTTP method on fetch calls with
body) which was committed after the 1.1.0 installers were built.
93 lines
2.2 KiB
JSON
93 lines
2.2 KiB
JSON
{
|
|
"name": "modelrouter-gui",
|
|
"version": "1.1.1",
|
|
"description": "ModelRouter Desktop — embedded ModelRouter core with tray",
|
|
"author": "ModelRouter",
|
|
"main": "main.js",
|
|
"license": "Proprietary",
|
|
"scripts": {
|
|
"start": "electron . --no-sandbox",
|
|
"dev": "electron . --no-sandbox --dev",
|
|
"core:linux": "node scripts/prepare-core.js linux",
|
|
"core:win": "node scripts/prepare-core.js win",
|
|
"dist:linux": "npm run core:linux && electron-builder --linux deb AppImage",
|
|
"dist:debian": "npm run core:linux && electron-builder --linux deb",
|
|
"dist:win": "npm run core:win && electron-builder --win nsis",
|
|
"dist:dir": "npm run core:linux && electron-builder --dir"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^33.0.0",
|
|
"electron-builder": "^26.15.3"
|
|
},
|
|
"build": {
|
|
"appId": "com.modelrouter.gui",
|
|
"productName": "ModelRouter",
|
|
"linux": {
|
|
"target": [
|
|
"deb",
|
|
"rpm",
|
|
"AppImage"
|
|
],
|
|
"category": "Network",
|
|
"icon": "build/icon.png",
|
|
"maintainer": "ModelRouter",
|
|
"synopsis": "ModelRouter Desktop",
|
|
"desktop": {
|
|
"entry": {
|
|
"StartupWMClass": "modelrouter-gui"
|
|
}
|
|
},
|
|
"extraResources": [
|
|
{
|
|
"from": "bin/llmsproxy",
|
|
"to": "bin/llmsproxy"
|
|
},
|
|
{
|
|
"from": "build/icon.png",
|
|
"to": "build/icon.png"
|
|
}
|
|
]
|
|
},
|
|
"directories": {
|
|
"output": "../build/gui-dist"
|
|
},
|
|
"mac": {
|
|
"target": "dmg",
|
|
"icon": "build/icon.png",
|
|
"extraResources": [
|
|
{
|
|
"from": "build/icon.png",
|
|
"to": "build/icon.png"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "build/icon.ico",
|
|
"extraResources": [
|
|
{
|
|
"from": "bin/llmsproxy.exe",
|
|
"to": "bin/llmsproxy.exe"
|
|
},
|
|
{
|
|
"from": "bin/lua51.dll",
|
|
"to": "bin/lua51.dll"
|
|
},
|
|
{
|
|
"from": "build/icon.png",
|
|
"to": "build/icon.png"
|
|
}
|
|
]
|
|
},
|
|
"files": [
|
|
"main.js",
|
|
"preload.js",
|
|
"renderer/**/*",
|
|
"build/**/*",
|
|
"!node_modules/**/*"
|
|
],
|
|
"asar": true
|
|
},
|
|
"homepage": "https://gitcode.com/JianFeeeee/ModelRouter"
|
|
}
|