diff options
| author | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-03-30 13:14:01 -0400 |
|---|---|---|
| committer | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-03-30 13:14:01 -0400 |
| commit | 5bbcc484a8e14ffb13354df4efdd460ebe7200e1 (patch) | |
| tree | 65b0a4c4e659b60038ec63706c46fb21de153598 /1-setup-path-win.bat | |
| parent | 95a88c09e18a7531a64838ceaa52df37bad8dc0d (diff) | |
| parent | ae47275bf34549a0f66cb2f37daca299fd4ecdee (diff) | |
| download | firmware-5bbcc484a8e14ffb13354df4efdd460ebe7200e1.tar.gz firmware-5bbcc484a8e14ffb13354df4efdd460ebe7200e1.tar.bz2 firmware-5bbcc484a8e14ffb13354df4efdd460ebe7200e1.zip | |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to '1-setup-path-win.bat')
| -rw-r--r-- | 1-setup-path-win.bat | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/1-setup-path-win.bat b/1-setup-path-win.bat index 49fb00e14..6957dbc3f 100644 --- a/1-setup-path-win.bat +++ b/1-setup-path-win.bat @@ -1,9 +1,14 @@ @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"] ( - echo FAILED. Rerun with administrator privileges. - pause + echo FAILED. You probably just need to run the script with administrator privileges. ) else ( echo Success! - pause + setx QMK QMK > nul ) + +echo. +pause |
