aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiZe-ZG <75554862+ZhiZe-ZG@users.noreply.github.com>2024-03-28 23:17:41 +0800
committerJosh Rahm <rahm@google.com>2024-08-14 15:42:41 -0600
commit6fd7136b19697b37c528ff6e31233875ff95fa7b (patch)
tree3593ca1b87b070d73fe55c97ce70d508d6dea7e9
parentc553b8d30697cee33b51f96ea5c67af1790f66e2 (diff)
downloadr-alacritty-6fd7136b19697b37c528ff6e31233875ff95fa7b.tar.gz
r-alacritty-6fd7136b19697b37c528ff6e31233875ff95fa7b.tar.bz2
r-alacritty-6fd7136b19697b37c528ff6e31233875ff95fa7b.zip
Fix "Open Alacritty Here" on Windows
-rw-r--r--alacritty/windows/wix/alacritty.wxs2
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" />