We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c8b38 commit cdb01dbCopy full SHA for cdb01db
attachments/simple_engine/install_dependencies_windows.bat
@@ -156,7 +156,8 @@ if not exist "C:\Program Files\Slang" (
156
157
REM Add Slang to PATH (requires restart or new command prompt)
158
echo Adding Slang to system PATH...
159
- setx PATH "%PATH%;C:\Program Files\Slang\bin" /M
+ for /f "tokens=2*" %%A in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v PATH') do set "CURRENT_PATH=%%B"
160
+ setx PATH "%CURRENT_PATH%;C:\Program Files\Slang\bin" /M
161
echo Note: You may need to restart your command prompt for Slang to be available in PATH
162
) else (
163
echo Failed to download Slang compiler. Please install manually from:
0 commit comments