This probably stems from newer ts definition or the newer ts version.
It errored because it cannot determine the event name and so it
considers argv[] as empty.
- Consume host-hook as a module
- Use package.json instead of electron-manifest.json
- Support new commandline flags:
- unpackedelectron
running in debug mode, electron first, so must launch dotnet
- unpackeddotnet
running in debug mode, dotnet first, do not launch dotnet
- dotnetpacked
running from electron-builder output, dotnet first, do not launch
- {none of the above flags}
running from electron-builder output, electron first, launch dotnet
- electronforcedport
specified by dotnet when dotnet-first, port is validated to be free
- Removed 'watch' functionality (regular debugging is working now)
- New feature to load a custom_main.js file, if present
- Removed the 'electronWebPort' handling
When ASP.Net is launched first, then the information which port it
should use would be coming too late; anyway, there's no need for
letting the port number round-trip all the way through the manifest
file, loaded by main.js and then sent to dotnet.
- Reworked handling of 'quit' message
- Update all packages to their latest version
- Drop tslint (replaced by eslint)
- Update node types to 22 => nodejs => 22 is minimum now
- Also use latest TypeScript version
- Finally, reference ElectronHostHook has a package dependency
this avoids conflicts of dependency versions between main code
and host-hook code, by letting npm resolve them