Files
peji 099cc252fe Fix proxy path resolution for portable builds, simplify landing page
The proxy launch used __dirname to find aware-cam-proxy.exe, which
points to a temp extraction directory in portable builds. Added
getAppDirectory() helper that resolves the actual .exe location via
PORTABLE_EXECUTABLE_FILE. Rewrote landing page as a simple kit download
page. Added build-kit script to bundle app + proxy + extension into zip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 19:23:48 -05:00

48 lines
1.1 KiB
JSON

{
"name": "alta-api-client",
"version": "1.0.0",
"description": "Electron app for connecting to Alta API",
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"build": "electron-builder --win --publish=never",
"build-test": "electron-builder --win --dir",
"build-kit": "powershell -ExecutionPolicy Bypass -File build-kit.ps1",
"prebuild": "echo Checking build requirements..."
},
"build": {
"appId": "com.internal.alta-camera-proxy",
"productName": "Alta Camera Proxy",
"directories": {
"output": "dist"
},
"win": {
"target": "portable",
"icon": "assets/icon.png",
"signAndEditExecutable": false
},
"portable": {
"artifactName": "AltaCameraProxy-${version}-portable.exe"
},
"forceCodeSigning": false
},
"keywords": [
"electron",
"alta",
"api",
"avigilon"
],
"author": "Your Name",
"license": "MIT",
"devDependencies": {
"electron": "^28.0.0",
"electron-builder": "^26.4.0",
"electron-packager": "^17.1.2"
},
"dependencies": {
"axios": "^1.6.0",
"crypto-js": "^4.2.0"
}
}