diff --git a/app/utils/system-context-menu.ts b/app/utils/system-context-menu.ts index e0c2b94e..80522d0c 100644 --- a/app/utils/system-context-menu.ts +++ b/app/utils/system-context-menu.ts @@ -9,7 +9,7 @@ const regKeys = [ ]; const regParts = [ {key: 'command', name: '', value: `${appPath} "%V"`}, - {name: '', value: 'Open Hyper here'}, + {name: '', value: 'Open &Hyper here'}, {name: 'Icon', value: `${appPath}`} ]; diff --git a/build/win/installer.nsh b/build/win/installer.nsh index 22b47b60..2a0b0a67 100644 --- a/build/win/installer.nsh +++ b/build/win/installer.nsh @@ -1,15 +1,15 @@ !macro customInstall WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "" "Open &Hyper here" - WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" "$appExe" - WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `$appExe "%V"` + WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" `"$appExe"` + WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `"$appExe" "%V"` WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "" "Open &Hyper here" - WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "Icon" "$appExe" - WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper\command" "" `$appExe "%V"` + WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "Icon" `"$appExe"` + WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper\command" "" `"$appExe" "%V"` WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "" "Open &Hyper here" - WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "Icon" "$appExe" - WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper\command" "" `$appExe "%V"` + WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "Icon" `"$appExe"` + WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper\command" "" `"$appExe" "%V"` !macroend !macro customUnInstall