mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-10 18:58:19 +00:00
Adds dynamic OS-selected socket port handling and secured Electron/.NET communication. The dotnet-first startup flow now generates the auth token on the .NET side and passes it to Electron through an environment variable. Electron reports the selected socket port through a temporary startup-info file, avoiding any dependency on parsing Electron console output. Also avoids logging backend startup parameters because they include the auth token.
32 lines
753 B
JSON
32 lines
753 B
JSON
{
|
|
"name": "electron.net.host",
|
|
"version": "1.0.0",
|
|
"description": "Electron-Host for Electron.NET.",
|
|
"repository": {
|
|
"url": "https://github.com/ElectronNET/Electron.NET"
|
|
},
|
|
"main": "main.js",
|
|
"type": "commonjs",
|
|
"scripts": {
|
|
"build": "tsc --build",
|
|
"clean": "tsc --build --clean",
|
|
"start": "tsc -p ."
|
|
},
|
|
"keywords": [],
|
|
"author": "Gregor Biswanger, Florian Rappl",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"dasherize": "^2.0.0",
|
|
"electron-host-hook": "file:./ElectronHostHook",
|
|
"image-size": "^1.2.1",
|
|
"electron-updater": "^6.6.2",
|
|
"socket.io": "^4.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.18",
|
|
"electron": "^30.0.3",
|
|
"eslint": "^9.39.1",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|