Skip to content

Commit

Permalink
That worked well for .exe installers. cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Nov 6, 2024
1 parent 496bda1 commit 6bdec89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions installers-conda/resources/post-install.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
@rem This script launches Spyder after install
@echo off

call :redirect 2>&1 > %PREFIX%\user-post-install.log
call :redirect 2>&1 >> %PREFIX%\install.log

:redirect
@echo Environment Variables:
set

if "%CI%"=="1" set no_launch_spyder=true
if defined CI set no_launch_spyder=true
if "%INSTALLER_UNATTENDED%"=="1" set no_launch_spyder=true
@echo CI = %CI%
@echo INSTALLER_UNATTENDED = %INSTALLER_UNATTENDED%
Expand All @@ -27,6 +28,7 @@ for /F "tokens=*" %%i in (
) do (
set shortcut=%%~fi
)
@echo shortcut = %shortcut%

@rem Launch Spyder
set tmpdir=%TMP%\spyder
Expand Down

0 comments on commit 6bdec89

Please sign in to comment.