Commit Graph

797 Commits

Author SHA1 Message Date
softworkz
feddf5f8f4 ElectronNET.API: Move API code to subfolder 2025-10-13 14:36:18 +02:00
softworkz
e4ce61c965 ElectronNET.Host: Update compiled files 2025-10-13 14:36:18 +02:00
softworkz
1e93d91e66 ElectronNET.Host: Fix TS compilation error webcontents.ts
The crashed event has been removed in Electron 29 - just let TS ignore
that error
2025-10-13 14:36:18 +02:00
softworkz
77efea50ed ElectronNET.Host: Fix TS compilation error in tray.js
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.
2025-10-13 14:36:18 +02:00
softworkz
5ea368bb16 ElectronNET.Host: Update main.js with these changes:
- 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
2025-10-13 14:36:18 +02:00
softworkz
0dca0e90f9 ElectronNET.Host: Update build configuration - changes:
- 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
2025-10-13 13:16:10 +02:00
softworkz
c0c3aaebdc ElectronNET.Host: Remove build-helper and manifest (no longer needed) 2025-10-13 13:08:32 +02:00
softworkz
14722e1f63 Remove ElectronNET.CLI project 2025-10-13 13:06:50 +02:00
softworkz
d6e39fef24 Add ElectronNET.Build project (dll with custom MSBuild tasks) 2025-10-13 13:06:20 +02:00
softworkz
74b80b3177 Add ElectronNET project (all build functionality) 2025-10-13 13:05:34 +02:00
softworkz
0f3f29eae3 global.json: Pin .net SDK 2025-10-13 13:04:24 +02:00
softworkz
f634dc45ed Update NuGet.config 2025-10-13 13:03:53 +02:00
softworkz
c6b9de2afa Update .gitignore 2025-10-13 13:03:36 +02:00
Florian Rappl
4c880cb627 Merge pull request #852 from rs22/update-electron-30
Update Electron version to 30.0.3
2024-06-04 20:51:37 +02:00
Robert Schmid
e46ba98c8d Update version in ElectronNET.WebApp electron manifest 2024-06-04 15:57:22 +02:00
Robert Schmid
4b9fe4656e Add changelog entry 2024-06-04 15:56:47 +02:00
Robert Schmid
fdb8be46b7 Update electron version 2024-05-10 17:34:27 +02:00
Florian Rappl
e361367a95 Merge pull request #849 from gorsheninmv/get-back-net6-support
Get back net6 support
2024-05-01 17:08:29 +02:00
Florian Rappl
7ca40bcaec Merge pull request #848 from gorsheninmv/update-npm-packages
Update node modules packages
2024-05-01 14:37:39 +02:00
Misha Gorshenin
1864c21c10 fix: specify target framework 2024-05-01 13:20:14 +05:00
Misha Gorshenin
0775b91dd4 fix: get back net6 support 2024-05-01 09:49:47 +05:00
Misha Gorshenin
f55dbc14c0 chore: update node modules packages 2024-05-01 09:16:25 +05:00
Florian Rappl
6472f34a75 Merge pull request #847 from gorsheninmv/feat-introduce-new-cli-args
Add /no-restore and SelfContained property support in CLI
2024-04-29 15:40:27 +02:00
Misha Gorshenin
91714f5807 feat: CLI: add /no-restore arg and SelfContained propeprty support 2024-04-29 14:56:57 +05:00
Florian Rappl
6182320003 Merge branch 'main' into develop 2024-04-29 11:45:11 +02:00
Florian Rappl
5125ee0109 Merge pull request #801 from ds5678/primitive-implicit-conversions
Implicit Conversions to System.Drawing structs
2024-04-29 11:42:45 +02:00
Florian Rappl
21c17dc82b Merge pull request #846 from Lemon73-Computing/net8.0
Upgrade to .NET 8.0
2024-04-27 20:11:37 +02:00
Lemon73-Computing
dbcd4ac940 add: setting
self-contained
2024-04-26 19:42:32 +09:00
Lemon73-Computing
286978c523 update: readme.md
.net 6 -> .net 8
2024-04-25 17:27:45 +09:00
Lemon73-Computing
96ae77ceb4 update: workflow 2024-04-25 01:01:22 +09:00
Lemon73-Computing
a893ccd646 fix: debug workflows 2024-04-25 00:58:50 +09:00
Lemon73-Computing
2edad2d329 upgrade: dependencies version 2024-04-25 00:58:27 +09:00
Lemon73-Computing
7be796f77b upgrade: dependency
* nuke 6.2.1 -> 8.0.0
2024-04-25 00:34:38 +09:00
Lemon73-Computing
19da7f47b1 change: target dotnet version 2024-04-24 23:44:10 +09:00
Florian Rappl
d22532488e Updated to 23.6.2 23.6.2 23.6.2-alpha.71 2024-02-15 01:12:33 +01:00
Florian Rappl
30558dea5f Updated changelog 2024-02-15 01:10:48 +01:00
Florian Rappl
464eaca593 Merge branch 'main' of https://github.com/ElectronNET/Electron.NET into develop 2024-02-15 01:04:11 +01:00
Florian Rappl
df3bd122df Merge pull request #813 from softworkz/submit_execjs_domready
WebContents: add executeJavaScript and dom-ready event
2024-02-15 01:01:59 +01:00
Florian Rappl
eabcc3a6b6 Merge pull request #798 from dlanorok/fixes/appSetAccessibilitySupportEnabled
Fixes/app set accessibility support enabled
2024-02-15 01:01:38 +01:00
Florian Rappl
2b5435381f Merge pull request #800 from franpersanchez/main
fix: typo in README.md
2024-02-15 00:59:08 +01:00
Florian Rappl
0d63383899 Merge pull request #833 from Yuvix25/ipc-once-memory
Fix huge memory waste in IpcMain.Once [IMPORTANT]
2024-02-15 00:55:40 +01:00
Florian Rappl
f31fe19652 Merge pull request #828 from Yuvix25/yuvix25/update-display-object
Update Display.cs to current spec
2024-02-15 00:55:33 +01:00
Florian Rappl
0a80367e3e Merge pull request #822 from NickRimmer/features/splash-size
Configurable splash screen size
2024-02-15 00:55:13 +01:00
Florian Rappl
34761456ad Merge pull request #821 from sajmonr/feature/osx-architecture-detection
Added OSX architecture detection
2024-02-15 00:55:05 +01:00
Florian Rappl
e4e96bbcc4 Merge pull request #819 from NickRimmer/features/webContent-additional-events
WebContent additional events
2024-02-15 00:54:42 +01:00
Yuval Rosen
1253df3d9a Fix huge memory waste in IpcMain.Once 2024-02-15 01:06:08 +02:00
Yuval Rosen
b8b634beb3 update display.cs to current spec 2024-01-10 11:10:49 +02:00
Nick Rimmer
94dc82ec62 configurable splash screen size 2023-11-13 01:29:17 +01:00
Adam Simonicek
53ccf4d302 Added OSX architecture detection 2023-11-04 14:09:07 -04:00
Nick Rimmer
bf0bdc8386 did-start-navigation, did-navigate, will-redirect, did-fail-load, did-redirect-navigation events added for WebContents 2023-11-03 00:23:37 +01:00