mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-16 21:26:58 +00:00
Also included is the ability to target a specific project in the `electronize build/start` command using /dotnet-project
9 lines
309 B
Batchfile
9 lines
309 B
Batchfile
echo Bundle ASP.NET Core Project into EXE
|
|
|
|
cd ElectronNET.WebApp
|
|
dotnet restore *.NET5.csproj
|
|
dotnet publish *.NET5.csproj -r win-x64 --output ../ElectronNET.Host/bin/
|
|
|
|
echo Start Electron with bundled EXE
|
|
cd ..\ElectronNET.Host
|
|
..\ElectronNET.Host\node_modules\.bin\electron.cmd "..\ElectronNET.Host\main.js" |