Skip to content

Commit 8645e0f

Browse files
LeannAlexandraLabhanshAgrawal
authored andcommitted
Update installer.nsh
Added the ampersand to the registry entry to give it the shortcut of "H" in windows. - in short Shift+F10 gives advanced options and "Open Hyper here now has the the H underlined and marked as hotkey.
1 parent ee00caf commit 8645e0f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/win/installer.nsh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
!macro customInstall
2-
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "" "Open Hyper here"
2+
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "" "Open &Hyper here"
33
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" "$appExe"
44
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `$appExe "%V"`
55

6-
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "" "Open Hyper here"
6+
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "" "Open &Hyper here"
77
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "Icon" "$appExe"
88
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper\command" "" `$appExe "%V"`
99

10-
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "" "Open Hyper here"
10+
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "" "Open &Hyper here"
1111
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "Icon" "$appExe"
1212
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper\command" "" `$appExe "%V"`
1313
!macroend
@@ -25,4 +25,4 @@
2525
!macro customInit
2626
IfFileExists $LOCALAPPDATA\Hyper\Update.exe 0 +2
2727
nsExec::Exec '"$LOCALAPPDATA\Hyper\Update.exe" --uninstall -s'
28-
!macroend
28+
!macroend

0 commit comments

Comments
 (0)