You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-14Lines changed: 61 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,17 +86,23 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
86
86
87
87
__Please note:__ Currently it is important to use ASP.NET Core with MVC. If you are working with the dotnet CLI, use
88
88
89
-
dotnet new mvc
89
+
```
90
+
dotnet new mvc
91
+
```
90
92
91
93
## Start the Application
92
94
93
95
To start the application make sure you have installed the "[ElectronNET.CLI](https://www.nuget.org/packages/ElectronNET.CLI/)" packages as global tool:
94
96
95
-
dotnet tool install ElectronNET.CLI -g
97
+
```
98
+
dotnet tool install ElectronNET.CLI -g
99
+
```
96
100
97
101
* Make sure you have __node.js v8.6.0__ and on __macOS/Linux__ the electron-builder installed!
98
-
99
-
sudo npm install electron-packager --global
102
+
103
+
```
104
+
sudo npm install electron-builder --global
105
+
```
100
106
101
107
At the first time, you need an Electron.NET project initialization. Type the following command in your ASP.NET Core folder:
102
108
@@ -129,23 +135,23 @@ In this YouTube video, we show you how you can create a new project, use the Ele
129
135
Here you need the Electron.NET CLI as well. Type the following command in your ASP.NET Core folder:
130
136
131
137
```
132
-
electronize build /target win
138
+
electronize build /target win
133
139
```
134
140
135
141
There are additional platforms available:
136
142
137
143
```
138
-
electronize build /target win
139
-
electronize build /target osx
140
-
electronize build /target linux
144
+
electronize build /target win
145
+
electronize build /target osx
146
+
electronize build /target linux
141
147
```
142
148
143
149
Those three "default" targets will produce x64 packages for those platforms.
144
150
145
151
For certain NuGet packages or certain scenarios you may want to build a pure x86 application. To support those things you can define the desired [.NET Core runtime](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog), the [electron platform](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#platform) and [electron architecture](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#arch) like this:
The end result should be an electron app under your __/bin/desktop__ folder.
@@ -187,23 +193,64 @@ MIT-licensed
187
193
188
194
# Important notes
189
195
196
+
## ElectronNET.API & ElectronNET.CLI Version 5.22.12
197
+
198
+
Make sure you also have the new Electron.NET CLI 5.22.12 version. This now uses [electron-builder](https://www.electron.build/configuration/configuration) and the necessary configuration to build is made in the **electron.manifest.json** file. In addition, own Electron.NET configurations are stored. Please make sure that your **electron.manifest.json** file has the following new structure:
0 commit comments