File size: 3,628 Bytes
cd8bd0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
  "name": "omniroute-desktop",
  "version": "3.8.39",
  "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": "^42.4.1",
    "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",
    "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"
        }
      ]
    }
  }
}