Skip to content

Commit

Permalink
Create missing dashboard.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
reyery committed Feb 9, 2024
1 parent a33c65b commit b83ee88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup/cityenergyanalyst.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Section "Base Installation" Base_Installation_Section

# install the CEA-GUI to "dashboard" folder
File /r "dashboard"
File "dashboard.bat"

;Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall_CityEnergyAnalyst_${VER}.exe"
Expand Down
2 changes: 2 additions & 0 deletions setup/dashboard.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@SET MAMBA_ROOT_PREFIX=%~dp0micromamba
@CALL %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& %~dp0micromamba.exe shell hook -s powershell | Out-String | Invoke-Expression ; micromamba activate cea ; cea dashboard"

0 comments on commit b83ee88

Please sign in to comment.