Commit 8e6786e
committed
Remove dormant Electron.NET integration
ElectronNET.API was never wired into packaging -- nothing in build.cake,
the workflows, or the Dockerfile referenced it -- and it no longer ran:
- ElectronNET.API 23.6.2 (Feb 2024) targets net6.0 and pins Electron 23 /
Chromium 110, long past end-of-support. The service is on net10.0.
- The electronize CLI scaffolds obj/Host with electron 9.4.4 + socket.io 2.x
while the API speaks socket.io v4, so the shell could never connect.
- start-electron-app.bat copied obj/Host/bin/{main.js,package.json,launch.sh},
none of which the csproj copies to output -- the copies failed silently.
- main.js required ./bin/Papercut.Service.json, renamed long ago to
Papercut.SMTP.Service.Settings.json, so it threw on startup.
- main.js used webContents.on("new-window"), removed in Electron 22+.
Removes the package reference (and its transitive Newtonsoft.Json,
SocketIOClient and System.Drawing.Common pull-in), the UseElectron/
HybridSupport wiring in Program.cs, the scaffold ElectronService, and the
launch scripts. Docs updated; also corrects two stale facts in the service
description (net8.0 -> net10.0, AngularJS -> Angular).
Desktop shell direction is tracked on the Angular Upgrade board.1 parent 42ee9f7 commit 8e6786e
13 files changed
Lines changed: 5 additions & 2687 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 51 | | |
58 | 52 | | |
59 | 53 | | |
60 | | - | |
61 | 54 | | |
62 | 55 | | |
63 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
95 | | - | |
96 | 91 | | |
97 | 92 | | |
98 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 92 | + | |
| 93 | + | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| |||
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 108 | | |
114 | 109 | | |
115 | 110 | | |
| |||
208 | 203 | | |
209 | 204 | | |
210 | 205 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | 206 | | |
224 | 207 | | |
225 | 208 | | |
| |||
252 | 235 | | |
253 | 236 | | |
254 | 237 | | |
255 | | - | |
256 | 238 | | |
257 | 239 | | |
258 | 240 | | |
| |||
271 | 253 | | |
272 | 254 | | |
273 | 255 | | |
274 | | - | |
275 | 256 | | |
276 | 257 | | |
277 | 258 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments