You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
377 B
Batchfile

@echo off
REM Change to the directory of this script (any subdirectory in the repository should work)
cd /d "%~dp0"
REM Activate pixi default environment
REM Write the output of pixi shell-hook to a temporary batch file and execute it
set TEMP_BATCH_FILE=%TEMP%\pixi_shell_hook_freecad.bat
pixi shell-hook > "%TEMP_BATCH_FILE%"
call "%TEMP_BATCH_FILE%"
del "%TEMP_BATCH_FILE%"