Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#701: fix registry import paths for Windows Terminal #829

Merged
merged 16 commits into from
Jul 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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