Skip to content

Commit f443f3e

Browse files
fix windows context menu entry
1 parent 7cb40b9 commit f443f3e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/utils/system-context-menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const regKeys = [
99
];
1010
const regParts = [
1111
{key: 'command', name: '', value: `${appPath} "%V"`},
12-
{name: '', value: 'Open Hyper here'},
12+
{name: '', value: 'Open &Hyper here'},
1313
{name: 'Icon', value: `${appPath}`}
1414
];
1515

build/win/installer.nsh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
!macro customInstall
22
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "" "Open &Hyper here"
3-
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" "$appExe"
4-
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `$appExe "%V"`
3+
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" `"$appExe"`
4+
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `"$appExe" "%V"`
55

66
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "" "Open &Hyper here"
7-
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "Icon" "$appExe"
8-
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper\command" "" `$appExe "%V"`
7+
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "Icon" `"$appExe"`
8+
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper\command" "" `"$appExe" "%V"`
99

1010
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "" "Open &Hyper here"
11-
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "Icon" "$appExe"
12-
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper\command" "" `$appExe "%V"`
11+
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "Icon" `"$appExe"`
12+
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper\command" "" `"$appExe" "%V"`
1313
!macroend
1414

1515
!macro customUnInstall

0 commit comments

Comments
 (0)