1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Fix "Open Alacritty Here" on Windows

This commit is contained in:
ZhiZe-ZG 2024-03-28 23:17:41 +08:00 committed by GitHub
parent 9af7eb1b31
commit 6585d60408
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@
<!-- Add context menu --> <!-- Add context menu -->
<Component Id="ContextMenu" Guid="449f9121-f7b9-41fe-82da-52349ea8ff91" Directory="TARGETDIR"> <Component Id="ContextMenu" Guid="449f9121-f7b9-41fe-82da-52349ea8ff91" Directory="TARGETDIR">
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\Open Alacritty here\command"> <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>
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\Open Alacritty here"> <RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\Open Alacritty here">
<RegistryValue Type="string" Name="Icon" Value="[AlacrittyProgramFiles]alacritty.exe" /> <RegistryValue Type="string" Name="Icon" Value="[AlacrittyProgramFiles]alacritty.exe" />