Skip to content

Commit 88b0437

Browse files
author
John Juback
committed
2 parents 92356d3 + 68288d9 commit 88b0437

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1500
-502
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: https://donorbox.org/electron-net

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: csharp
22
mono: none
33
dist: xenial
4-
dotnet: 2.2
4+
dotnet: 3.0
55
before_script:
66
- export PATH="$PATH:/home/travis/.dotnet/tools"
7-
- npm install electron-packager --global
87
script:
98
- ./buildAll.sh

Changelog.md

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,70 @@
11
# Not released
22

3+
# 7.30.3
34

45
# Released
56

6-
# 5.22.13
7+
# 7.30.2
78

89
ElectronNET.CLI:
910

11+
* New Feature: Different manifest file support [\#340](https://github.com/ElectronNET/Electron.NET/issues/340)
12+
* Create a additional manifest file: `electronize init /manifest test`
13+
* Start the app with your additional manifest file: `electronize start /manifest electron.manifest.test.json`
14+
* Build the app with your additional manifest file: `electronize build /target win /manifest electron.manifest.test.json`.
15+
16+
* New Feature: Command Line support [\#337](https://github.com/ElectronNET/Electron.NET/issues/337)
17+
* You can start the app with: `electronize start /args --dog=woof --test=true`
18+
* Or as binary: `myapp.exe /args --dog=woof --test=true`
19+
* Fixed bug: Start process with listen port 8000 error. [\#308](https://github.com/ElectronNET/Electron.NET/issues/308) (thanks [thecodejedi](https://github.com/thecodejedi))
20+
* Fixed bug: `electronize build` with no arguments would throw a `KeyNotFoundException`. (thanks [jamiebrynes7](https://github.com/jamiebrynes7))
21+
1022
ElectronNET.API:
1123

12-
* Fixed bug: Menu Item visibility [\#257](https://github.com/ElectronNET/Electron.NET/issues/257)
13-
* Fixed bug: electron.manifest.json - singleInstance not working [\#258](https://github.com/ElectronNET/Electron.NET/issues/258)
14-
* Fixed security issue: ASP.NET Core process is now bound to 127.0.0.1 instead of the broader localhost [\#258](https://github.com/ElectronNET/Electron.NET/pull/266)
24+
* New Feature: Electron 7.1.2 support, but not all new features (we search contributors) [\#341](https://github.com/ElectronNET/Electron.NET/issues/341)
25+
* New Feature: Electron.App.CommandLine API [\#337](https://github.com/ElectronNET/Electron.NET/issues/337)
26+
* New Feature: Support of BrowserWindow.AddExtension, BrowserWindow.RemoveExtension, BrowserWindow.GetExtensions (thanks [Daddoon](https://github.com/Daddoon))
27+
28+
Thank you for donation [robertmclaws](https://github.com/robertmclaws)
29+
30+
# 5.30.1
31+
32+
ElectronNET.CLI:
33+
34+
* Move to .NET Core 3.0
35+
* Use npm npx instead of global installations (thanks [jimbuck](https://github.com/jimbuck))
36+
37+
ElectronNET.API:
38+
39+
* Move to .NET Core 3.0
40+
* New Feature: Add BrowserWindow.RemoveMenu() (thanks [hack2root](https://github.com/hack2root))
41+
42+
Thanks to [MaherJendoubi](https://github.com/MaherJendoubi), [kant2002](https://github.com/kant2002), [raz-canva](https://github.com/raz-canva) and [Daddoon](https://github.com/Daddoon) to give .NET Core 3.0 feedback!
43+
# 5.22.14
44+
45+
ElectronNET.CLI:
46+
47+
* Fixed bug: Build fails with latest electron-builder version [\#288](https://github.com/ElectronNET/Electron.NET/issues/288)
48+
49+
ElectronNET.API:
50+
51+
* New Feature: Full support for Auto Updater [(Based on electron-updater - Version 4.0.6)](https://www.electron.build/auto-update)
52+
* New Feature: Support for set a custom static Port to ASP.NET Backend [\#155](https://github.com/ElectronNET/Electron.NET/issues/155)
53+
* Fixed bug: Electron tray icon TypeError ([Electron original issue](https://github.com/electron/electron/issues/7657)) (thanks [Tum4ik](https://github.com/Tum4ik))
54+
* Fixed bug: Wrong tray icon path in the application built via `electronize build` command (thanks [Tum4ik](https://github.com/Tum4ik))
55+
* Fixed bug: fix async issue where same port is considered open [\#261](https://github.com/ElectronNET/Electron.NET/issues/261) (thanks [netpoetica](https://github.com/netpoetica))
1556

1657
ElectronNET.WebApp:
1758

59+
* Fixed usage of the `Electron.Tray.Show` according fixed bugs in the ElectronNET.CLI (thanks [Tum4ik](https://github.com/Tum4ik))
60+
61+
# 5.22.13
62+
63+
ElectronNET.API:
64+
65+
* Fixed bug: Menu Item visibility [\#257](https://github.com/ElectronNET/Electron.NET/issues/257)
66+
* Fixed bug: electron.manifest.json - singleInstance not working [\#258](https://github.com/ElectronNET/Electron.NET/issues/258)
67+
* Fixed security issue: ASP.NET Core process is now bound to 127.0.0.1 instead of the broader localhost [\#258](https://github.com/ElectronNET/Electron.NET/pull/266)
1868

1969
# 5.22.12
2070

ElectronNET.API/App.cs

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,10 @@ public event Action<bool> AccessibilitySupportChanged
351351

352352
private event Action<bool> _accessibilitySupportChanged;
353353

354-
internal App() { }
354+
internal App()
355+
{
356+
CommandLine = new CommandLine();
357+
}
355358

356359
internal static App Instance
357360
{
@@ -1224,7 +1227,7 @@ public void SetAppUserModelId(string id)
12241227
taskCompletionSource.SetResult((bool)success);
12251228
});
12261229

1227-
BridgeConnector.Socket.Emit("appSetBadgeCount");
1230+
BridgeConnector.Socket.Emit("appSetBadgeCount", count);
12281231

12291232
return await taskCompletionSource.Task
12301233
.ConfigureAwait(false);
@@ -1255,6 +1258,11 @@ public void SetAppUserModelId(string id)
12551258
}
12561259
}
12571260

1261+
/// <summary>
1262+
/// Manipulate the command line arguments for your app that Chromium reads.
1263+
/// </summary>
1264+
public CommandLine CommandLine { get; internal set; }
1265+
12581266
/// <summary>
12591267
/// Whether the current desktop environment is Unity launcher.
12601268
/// </summary>
@@ -1380,39 +1388,6 @@ public void SetAboutPanelOptions(AboutPanelOptions options)
13801388
BridgeConnector.Socket.Emit("appSetAboutPanelOptions", JObject.FromObject(options, _jsonSerializer));
13811389
}
13821390

1383-
/// <summary>
1384-
/// Append a switch (with optional value) to Chromium's command line. Note: This
1385-
/// will not affect process.argv, and is mainly used by developers to control some
1386-
/// low-level Chromium behaviors.
1387-
/// </summary>
1388-
/// <param name="theSwtich">A command-line switch.</param>
1389-
public void CommandLineAppendSwitch(string theSwtich)
1390-
{
1391-
BridgeConnector.Socket.Emit("appCommandLineAppendSwitch", theSwtich);
1392-
}
1393-
1394-
/// <summary>
1395-
/// Append a switch (with optional value) to Chromium's command line. Note: This
1396-
/// will not affect process.argv, and is mainly used by developers to control some
1397-
/// low-level Chromium behaviors.
1398-
/// </summary>
1399-
/// <param name="theSwtich">A command-line switch.</param>
1400-
/// <param name="value">A value for the given switch.</param>
1401-
public void CommandLineAppendSwitch(string theSwtich, string value)
1402-
{
1403-
BridgeConnector.Socket.Emit("appCommandLineAppendSwitch", theSwtich, value);
1404-
}
1405-
1406-
/// <summary>
1407-
/// Append an argument to Chromium's command line. The argument will be quoted
1408-
/// correctly.Note: This will not affect process.argv.
1409-
/// </summary>
1410-
/// <param name="value">The argument to append to the command line.</param>
1411-
public void CommandLineAppendArgument(string value)
1412-
{
1413-
BridgeConnector.Socket.Emit("appCommandLineAppendArgument", value);
1414-
}
1415-
14161391
/// <summary>
14171392
/// When critical is passed, the dock icon will bounce until either the application
14181393
/// becomes active or the request is canceled.When informational is passed, the

0 commit comments

Comments
 (0)