diff options
author | ZhiZe-ZG <75554862+ZhiZe-ZG@users.noreply.github.com> | 2024-03-28 23:17:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 15:17:41 +0000 |
commit | 6585d60408be1d6c275a41e4c94da092482a1ea7 (patch) | |
tree | 3792dc203af9771298b64b16312742d3082f4c05 | |
parent | 9af7eb1b31dde67d7b1bc1824e7a375a54e9c79a (diff) | |
download | alacritty-6585d60408be1d6c275a41e4c94da092482a1ea7.tar.gz alacritty-6585d60408be1d6c275a41e4c94da092482a1ea7.zip |
Fix "Open Alacritty Here" on Windows
-rw-r--r-- | alacritty/windows/wix/alacritty.wxs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/windows/wix/alacritty.wxs b/alacritty/windows/wix/alacritty.wxs index 0ef66ec3..cd64ec7b 100644 --- a/alacritty/windows/wix/alacritty.wxs +++ b/alacritty/windows/wix/alacritty.wxs @@ -41,7 +41,7 @@ <!-- Add context menu --> <Component Id="ContextMenu" Guid="449f9121-f7b9-41fe-82da-52349ea8ff91" Directory="TARGETDIR"> <RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\Open Alacritty here\command"> - <RegistryValue Type="string" Value="[AlacrittyProgramFiles]alacritty.exe" KeyPath="yes" /> + <RegistryValue Type="string" Value='[AlacrittyProgramFiles]alacritty.exe --working-directory "%v"' KeyPath="yes" /> </RegistryKey> <RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\Open Alacritty here"> <RegistryValue Type="string" Name="Icon" Value="[AlacrittyProgramFiles]alacritty.exe" /> |