mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 18:49:08 +00:00
Fix #198
This commit is contained in:
parent
49bde5b5c1
commit
8f1ea16ad5
1 changed files with 9 additions and 4 deletions
|
@ -1,9 +1,14 @@
|
||||||
@echo off
|
@echo off
|
||||||
setx /M path "%PATH%;C:\MinGW\bin;C:\MinGW\msys\1.0\bin" > nul 2>&1
|
|
||||||
|
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /f /v Path /t REG_SZ /d "%path%;C:\MinGW\bin;C:\MinGW\msys\1.0\bin" > nul
|
||||||
|
echo.
|
||||||
|
|
||||||
if NOT ["%errorlevel%"]==["0"] (
|
if NOT ["%errorlevel%"]==["0"] (
|
||||||
echo FAILED. Rerun with administrator privileges.
|
echo FAILED. You probably just need to run the script with administrator privileges.
|
||||||
pause
|
|
||||||
) else (
|
) else (
|
||||||
echo Success!
|
echo Success!
|
||||||
pause
|
setx QMK QMK > nul
|
||||||
)
|
)
|
||||||
|
|
||||||
|
echo.
|
||||||
|
pause
|
||||||
|
|
Loading…
Reference in a new issue