mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-05-23 04:28:06 +00:00
- providers.ts: close the unterminated `dify` APIKEY_PROVIDERS entry (Wave-1b #2488 merge artifact) that broke the entire build (esbuild 'Expected }'). - CHANGELOG.md: restore the `# Changelog` header and an empty `[Unreleased]` section (docs-sync requires the first section to be Unreleased); remove the duplicated `[3.8.1]` block. - Bump package.json / electron / open-sse / openapi.yaml to 3.8.2 to match the CHANGELOG release header. - Mirror the `[3.8.2]` section into all 41 i18n CHANGELOGs so docs-sync passes. Unblocks all commits on release/v3.8.2-based branches.
150 lines
3.4 KiB
JSON
150 lines
3.4 KiB
JSON
{
|
|
"name": "omniroute-desktop",
|
|
"version": "3.8.2",
|
|
"description": "OmniRoute Desktop Application",
|
|
"main": "main.js",
|
|
"author": {
|
|
"name": "OmniRoute Team",
|
|
"email": "support@omniroute.online"
|
|
},
|
|
"license": "MIT",
|
|
"homepage": "https://omniroute.online",
|
|
"engines": {
|
|
"node": ">=22.22.2 <23 || >=24.0.0 <27"
|
|
},
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev": "electron . --no-sandbox",
|
|
"prepare:bundle": "node ../scripts/build/prepare-electron-standalone.mjs",
|
|
"build": "npm run prepare:bundle && electron-builder",
|
|
"build:win": "npm run prepare:bundle && electron-builder --win",
|
|
"build:mac": "npm run prepare:bundle && electron-builder --mac",
|
|
"build:mac-x64": "npm run prepare:bundle && electron-builder --mac --x64",
|
|
"build:mac-arm64": "npm run prepare:bundle && electron-builder --mac --arm64",
|
|
"build:linux": "npm run prepare:bundle && electron-builder --linux",
|
|
"pack": "npm run prepare:bundle && electron-builder --dir"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^12.10.0",
|
|
"electron-updater": "^6.8.6"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^41.2.0",
|
|
"electron-builder": "^26.11.0"
|
|
},
|
|
"overrides": {
|
|
"@xmldom/xmldom": "^0.9.10",
|
|
"plist": "^4.0.0"
|
|
},
|
|
"build": {
|
|
"appId": "online.omniroute.desktop",
|
|
"productName": "OmniRoute",
|
|
"copyright": "Copyright © 2025 OmniRoute",
|
|
"directories": {
|
|
"output": "dist-electron",
|
|
"buildResources": "assets"
|
|
},
|
|
"publish": {
|
|
"provider": "github",
|
|
"owner": "diegosouzapw",
|
|
"repo": "OmniRoute"
|
|
},
|
|
"files": [
|
|
"main.js",
|
|
"preload.js",
|
|
"package.json",
|
|
"node_modules/**/*"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "../.next/electron-standalone",
|
|
"to": "app",
|
|
"filter": [
|
|
"**/*",
|
|
"node_modules/**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "../.next/electron-standalone/node_modules",
|
|
"to": "app/node_modules",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "assets",
|
|
"to": "assets",
|
|
"filter": [
|
|
"icon.png",
|
|
"tray-icon.png"
|
|
]
|
|
}
|
|
],
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "assets/icon.ico"
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
"dmg"
|
|
],
|
|
"icon": "assets/icon.icns",
|
|
"category": "public.app-category.productivity"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "assets/icons",
|
|
"category": "Utility"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"installerIcon": "assets/icon.ico",
|
|
"uninstallerIcon": "assets/icon.ico"
|
|
},
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 130,
|
|
"y": 220
|
|
},
|
|
{
|
|
"x": 410,
|
|
"y": 220,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|