Skip to content

Commit 04fdb67

Browse files
committed
#2194 - fixes Hotkey not working
1 parent 05da826 commit 04fdb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/main/lib/ConfigManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function assignConfigValues (originalConfig, rcConfig) {
208208
function rewriteHotkey (config) {
209209
const keys = [...Object.keys(config.hotkey)]
210210
keys.forEach(key => {
211-
config.hotkey[key] = config.hotkey[key].replace(/Cmd/g, 'Command')
211+
config.hotkey[key] = config.hotkey[key].replace(/Cmd\s/g, 'Command ')
212212
config.hotkey[key] = config.hotkey[key].replace(/Opt\s/g, 'Option ')
213213
})
214214
return config

0 commit comments

Comments
 (0)