Serve the Windows setup via /install, ship deploy/agent in Master, and document volume upload for the gitignored exe.
62 lines
1.8 KiB
JSON
62 lines
1.8 KiB
JSON
{
|
|
"name": "@media-cluster/token-tray",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Windows system tray helper to refresh Viaplay/F1TV session tokens",
|
|
"author": "Vonas Media Cluster",
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"dev": "tsc -p tsconfig.json && electron .",
|
|
"start": "electron .",
|
|
"postinstall": "node -e \"try{require('child_process').execSync('playwright install chromium',{stdio:'inherit'})}catch(e){console.warn('playwright chromium download skipped — tray gebruikt system Chrome/Edge')}\"",
|
|
"pack:win": "pnpm run build && electron-builder --win nsis",
|
|
"pack:win:dir": "pnpm run build && electron-builder --win dir",
|
|
"publish:installer": "node scripts/publish-installer.cjs"
|
|
},
|
|
"dependencies": {
|
|
"playwright": "^1.49.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"electron": "^33.2.1",
|
|
"electron-builder": "^25.1.8",
|
|
"typescript": "^5.7.3"
|
|
},
|
|
"build": {
|
|
"appId": "nl.vonas.mediacluster.token-tray",
|
|
"productName": "Media Cluster Token Tray",
|
|
"copyright": "Copyright © Vonas",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"package.json"
|
|
],
|
|
"extraMetadata": {
|
|
"main": "dist/main.js"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"signAndEditExecutable": false,
|
|
"artifactName": "token-tray-setup.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": true,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": false,
|
|
"createDesktopShortcut": false,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Media Cluster Token Tray",
|
|
"runAfterFinish": true,
|
|
"uninstallDisplayName": "Media Cluster Token Tray",
|
|
"deleteAppDataOnUninstall": false
|
|
}
|
|
}
|
|
}
|