mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-21 22:45:20 +00:00
Removed references to electronize
This commit is contained in:
@@ -36,7 +36,7 @@ Then start it in the Electron shell:
|
||||
|
||||
```bash
|
||||
dotnet build
|
||||
electronize start
|
||||
dotnet run
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
@@ -29,9 +29,6 @@ namespace ElectronNET.WebApp.Controllers
|
||||
|
||||
Electron.IpcMain.On("auto-update", async (args) =>
|
||||
{
|
||||
// Electron.NET CLI Command for deploy:
|
||||
// electronize build /target win /electron-params --publish=always
|
||||
|
||||
var currentVersion = await Electron.App.GetVersionAsync();
|
||||
var updateCheckResult = await Electron.AutoUpdater.CheckForUpdatesAndNotifyAsync();
|
||||
var availableVersion = updateCheckResult.UpdateInfo.Version;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</h1>
|
||||
<h3>The <code>HostHook</code> API allows you to execute your own JavaScript/TypeScript code on the host process.</h3>
|
||||
|
||||
<p>Create first an ElectronHostHook directory via the Electron.NET CLI, with the following command: <code>electronize add hosthook</code>.</p>
|
||||
<p>Create first an ElectronHostHook directory with a package.json and a JavaScript file.</p>
|
||||
<p>In this directory you can install any NPM packages and embed your own JavaScript/TypeScript code. It is also possible to respond to events from the host process.</p>
|
||||
<p>You find the sample source code in <code>Controllers\HostHookController.cs</code> and in the <code>ElectronHostHook</code> folder.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user