Skip to content

Commit

Permalink
#701: fix registry import paths (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
CREITZ25 authored Jul 21, 2022
1 parent f824979 commit 9a42b61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/src/main/resources/setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ reg import system/windows/power-shell/devon-power-shell.reg

dir %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe >NUL 2>NUL
if "%ERRORLEVEL%" == "0" (
reg import system/windows/wt-cmd/devon-wt-cmd.reg
reg import system/windows/wt-cmd/devon-wt-gitbash.reg

reg import system/windows/windows-terminal/devon-wt-cmd.reg
reg import system/windows/windows-terminal/devon-wt-gitbash.reg
)

for /F "usebackq tokens=2*" %%O in (`call "%SystemRoot%"\system32\reg.exe query "HKLM\Software\Cygwin\setup" /v "rootdir" 2^>nul ^| "%SystemRoot%\system32\findstr.exe" REG_SZ`) do set CYGWIN_HOME=%%P
Expand Down

0 comments on commit 9a42b61

Please sign in to comment.