summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhiZe-ZG <75554862+ZhiZe-ZG@users.noreply.github.com>2024-03-28 23:17:41 +0800
committerGitHub <noreply@github.com>2024-03-28 15:17:41 +0000
commit6585d60408be1d6c275a41e4c94da092482a1ea7 (patch)
tree3792dc203af9771298b64b16312742d3082f4c05
parent9af7eb1b31dde67d7b1bc1824e7a375a54e9c79a (diff)
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" />