diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..3420ddf --- /dev/null +++ b/start.sh @@ -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" \ No newline at end of file