mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 01:17:07 +06:00
15 lines
346 B
Batchfile
15 lines
346 B
Batchfile
@echo off
|
|
|
|
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"] (
|
|
echo FAILED. You probably just need to run the script with administrator privileges.
|
|
) else (
|
|
echo Success!
|
|
setx QMK QMK > nul
|
|
)
|
|
|
|
echo.
|
|
pause
|