Files
Electron.NET/start.cmd
Daniel Gidman 6b0205467b Support for .NET 6
Also included is the ability to target a specific project in the `electronize build/start` command using /dotnet-project
2021-12-09 13:11:24 -06:00

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"