mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 20:32:20 +03:00
* fix(electron): bump electron 42→43 + build better-sqlite3 from source (ABI 148) (#6605)
fix(electron): bump electron 42→43 + rebuild better-sqlite3 from source against the Electron ABI (148).
Electron 43 raises NODE_MODULE_VERSION to 148; better-sqlite3@12.11.1 has no electron-v148 prebuild, so the packaged app died with 'Nenhum driver SQLite disponível'. prepare-electron-standalone now compiles better-sqlite3 from source against the electron headers into build/Release (where 'bindings' resolves it). Validated by Electron Package Smoke (green) + local (node_register_module_v148).
Supersedes #6378. (--admin: the only reds are SonarQube/SonarCloud failing on a coverage-report artifact digest-mismatch — a GitHub Actions infra flake, not this diff; Sonar is green on main and the diff touches only the electron build.)
* deps: bump the development group across 1 directory with 6 updates (#6588)
deps: bump the development group (6 updates). Rebased onto current main; all checks green after the electron-smoke fix (#6605).
* fix(proxy): force CONNECT tunnel for HTTP proxied requests (undici 8.7) + production deps bump (#6620)
fix(proxy): force CONNECT tunnel for HTTP proxied requests (undici 8.7) + production deps bump.
undici 8.6+ changed ProxyAgent to forward plain-HTTP via request-proxy instead of CONNECT, breaking OAuth refresh through a connection proxy (501). proxyDispatcher now passes proxyTunnel:true. Validated: Unit Tests 3/8 (the OAuth-proxy test) green, new regression test green (fails without the fix on undici 8.7), SonarQube green.
Supersedes #6380. (--admin: the only red is Electron Package Smoke failing on a next-build artifact 'digest-mismatch' — a GitHub Actions infra flake corrupting the asar ('file data stream has unexpected number of bytes'); the better-sqlite3 rebuild itself succeeded (gyp ok) and the electron path is unchanged from #6605 which passed the smoke. Not this diff.)
* chore(deps): bump github/codeql-action/analyze from 4.36.3 to 4.37.0
Bumps [github/codeql-action/analyze](https://github.com/github/codeql-action) from 4.36.3 to 4.37.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](54f647b7e1...99df26d4f1)
---
updated-dependencies:
- dependency-name: github/codeql-action/analyze
dependency-version: 4.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Diego Rodrigues de Sa e Souza <8016841+diegosouzapw@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
158 lines
3.6 KiB
JSON
158 lines
3.6 KiB
JSON
{
|
|
"name": "omniroute-desktop",
|
|
"version": "3.8.47",
|
|
"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": {
|
|
"electron-updater": "^6.8.9"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^43.1.0",
|
|
"electron-builder": "^26.15.3"
|
|
},
|
|
"overrides": {
|
|
"@xmldom/xmldom": "^0.9.10",
|
|
"plist": "^4.0.0",
|
|
"form-data": "^4.0.6",
|
|
"js-yaml": "^4.2.0",
|
|
"undici": "^7.28.0"
|
|
},
|
|
"build": {
|
|
"appId": "online.omniroute.desktop",
|
|
"productName": "OmniRoute",
|
|
"copyright": "Copyright © 2025 OmniRoute",
|
|
"buildDependenciesFromSource": true,
|
|
"directories": {
|
|
"output": "dist-electron",
|
|
"buildResources": "assets"
|
|
},
|
|
"publish": {
|
|
"provider": "github",
|
|
"owner": "diegosouzapw",
|
|
"repo": "OmniRoute"
|
|
},
|
|
"files": [
|
|
"main.js",
|
|
"preload.js",
|
|
"loginManager.js",
|
|
"processTree.js",
|
|
"sqlite-inspection.js",
|
|
"lib/resolveServerEntry.js",
|
|
"package.json",
|
|
"node_modules/**/*"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "../.build/electron-standalone",
|
|
"to": "app",
|
|
"filter": [
|
|
"**/*",
|
|
"node_modules/**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "../.build/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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|