Commit Graph

52 Commits

Author SHA1 Message Date
rafael-aero
224bc1ef65 Add supported OS platform annotations 2021-08-26 14:22:54 +02:00
rafael-aero
8bbe6a96af Fix serialization of array of objects 2021-08-25 10:34:36 +02:00
rafael-aero
31094f9d2b Remove unecessary JsonSerializer settings, fix default serializer 2021-08-23 11:57:42 +02:00
rafael-aero
bf48bc8227 replace remaining cases with OnResult, fix deserialization of json objects 2021-08-23 11:22:37 +02:00
rafael-aero
a8229f2fa9 add internal method to emit socket events synchronously, and use it for all exit, quit and relaunch methods 2021-08-20 15:06:58 +02:00
rafael-aero
8063f49e4b run all continuations asyncronously 2021-08-17 16:28:07 +02:00
rafael-aero
c4ff481131 add debug option 2021-07-21 10:42:04 +02:00
theolivenbaum
b03bc7c9eb Clean-up 2021-07-12 21:33:35 +02:00
theolivenbaum
95d614796e works 2021-07-12 21:27:40 +02:00
rafael-aero
126d39f4a5 wip 2021-07-12 19:50:39 +02:00
rafael-aero
8880e040f7 remove remaining .Result calls 2021-07-12 18:16:07 +02:00
rafael-aero
82755e399d Add comments 2021-07-12 15:54:23 +02:00
rafael-aero
83fd5a5d4b Add manual initialization methods 2021-07-12 15:52:30 +02:00
Dan
e94196504e Support subscribing to unmapped events on App and Tray modules
`Electron.App.On("eventName", () => {});` or `Electron.App.On("eventName", obj => {});`

fix #527
2021-01-18 19:52:58 -06:00
Gregor Biswanger
c8c818a77a Merge pull request #478 from dlitty/master
Added support for launching the application with a file on MacOS
2021-01-10 23:55:20 +01:00
Dan Litty
7518acb3c2 Added support for launching the application with a file on MacOS by listening for the open-file and open-url events from the operating system, and forwarding them to the Electron.NET app when listeners are added 2020-08-31 16:47:05 -04:00
Fre
e17a36f7cb small changes 2020-08-21 12:13:38 +02:00
Fre
4e9de2abfa Aanpassingen autoupdate & async code 2020-07-08 11:16:00 +02:00
Konstantin Gross
9ddb1b195e Removed dock methods from app API and moved to dock API 2020-06-01 01:59:40 +02:00
Konstantin Gross
eee84d214e App API:
* Summaries rewritten
* Added new parameters / Removed not supported parameters
* Added some new methods like appFocus(options), appHasSingleLock, etc.
2020-05-31 03:09:54 +02:00
Gregor Biswanger
39c3e92128 implement lazy App.Ready event 2020-05-24 22:00:32 +02:00
Gregor Biswanger
c552a04347 add App.Ready event 2020-05-24 18:50:35 +02:00
Konstantin Gross
cac9cfcec8 Add lifetime hosted service to detect fully started ASP.NET Core 2020-05-24 02:51:34 +02:00
Gregor Biswanger
e9331728b4 Merge branch 'master' into master 2020-05-19 13:34:04 +02:00
Gire Jean-Philippe
f4ea6df204 Added UserAgentFallback to App 2020-05-19 11:59:11 +02:00
Dave Ferguson
0573e92ed5 Fix logic of all windows closed event on macos
The application was not raising the all windows closed event which
didn't allow the .NET application to exit properly when the last window
was closed.

The recommendation by electronjs is to subscribe to the all windows
closed event and exit the app via code on macos.

This change allows the event to propagated up to the .NET application.

It may be better to move all of the logic surrounding this to the
ElectronNET.API project and allow the application developer full
control over the behavior.  For now, this fixes the immediate bug.

GH-346
2020-05-18 19:58:22 -04:00
Gregor Biswanger
073eb0e00d Fixed: GetLoginItemSettingsAsync does not work #352 2020-04-21 01:00:59 +02:00
Gregor Biswanger
d660dff871 changed App.GetNameAsync and App.SetNameAsync to App.Name - Fixed the Splashscreen bug #357 #350 2020-04-18 17:15:58 +02:00
Gregor Biswanger
a788d71530 Implemented Electrons CommandLine-API, Implemented arguments support, Implemented different manifest file support 2019-11-30 01:30:22 +01:00
Maher Jendoubi
ed6ebe90b1 Fixed some spelling issues
* Cleanup of unnecessary usings
* Used language keywords instead of BCL types : Object --> object
* Fixed some spelling issues
2019-05-18 02:00:56 +02:00
Gregor Biswanger
3cb92169dd Implement Electron 5.0.1 compatibility 2019-05-16 03:13:35 +02:00
Gregor Biswanger
524e6c8dff fix planned breaking API changes from Electron 4.0 2018-09-25 23:10:58 +02:00
Robert Muehsig
2e87bb3955 https://github.com/ElectronNET/Electron.NET/issues/72 2018-02-19 23:30:13 +01:00
danielmarbach
fc5250468e App cancellation token 2017-11-20 21:27:03 +01:00
Gregor Biswanger
ca382bf605 implement PreventDefault function for stop quiting application 2017-11-10 03:11:13 +01:00
Gregor Biswanger
fdb026c7bd fix app quit event bugs 2017-11-10 01:48:06 +01:00
Gregor Biswanger
7c13d19e7f implement it thread-safe 2017-11-04 00:16:14 +01:00
Gregor Biswanger
4b0fca35fa fix event bugs 2017-10-25 21:28:43 +02:00
Gregor Biswanger
7699773b61 include the missing xml code documentations 2017-10-24 21:43:27 +02:00
Gregor Biswanger
08b88e3adf implement first dialog-, notification-, tray- and menu-api functions 2017-10-15 17:03:07 +02:00
Gregor Biswanger
8f9a84cb0f implement WindowManager, BrowserWindow-API and Menu-API 2017-10-15 06:03:48 +02:00
Gregor Biswanger
90d0cc6189 implement the first App-API Events 2017-10-14 19:57:49 +02:00
Gregor Biswanger
9abece156f Create Electron-Class for API´s 2017-10-14 17:58:16 +02:00
Gregor Biswanger
9848a38b0d write code documentation for App-API and IpcMain-API 2017-10-14 14:41:11 +02:00
Gregor Biswanger
aa526c4bcb Implement all functions from the Electron App-API 2017-10-14 00:06:58 +02:00
Gregor Biswanger
5f0be6543b implement first Electron-API Bridge functions - Add little sample in WebApp 2017-10-12 02:24:27 +02:00
Gregor Biswanger
2989144dce implement IPC Support 2017-10-07 01:32:19 +02:00
Gregor Biswanger
47996a76d9 implement auto port support for socket bridge communication 2017-10-06 05:04:56 +02:00
Gregor Biswanger
5bb5bb24de implement mvc with call notification api from electron 2017-10-03 04:52:43 +02:00
Gregor Biswanger
b16e0b0bf9 implement notification bridge 2017-10-03 04:40:37 +02:00