mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-21 14:35:16 +00:00
10
start.sh
Executable file
10
start.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
echo Bundle ASP.NET Core Project into EXE
|
||||
|
||||
cd ElectronNET.WebApp
|
||||
dotnet restore
|
||||
dotnet publish -r osx.10.11-x64 --output ../ElectronNET.Host/bin/
|
||||
|
||||
echo Start Electron with bundled EXE
|
||||
cd ../ElectronNET.Host
|
||||
npm install
|
||||
../ElectronNET.Host/node_modules/.bin/electron "../ElectronNET.Host/main.js"
|
||||
Reference in New Issue
Block a user