       else
         key = characters.unmodified
 
+  # Work around https://bugs.chromium.org/p/chromium/issues/detail?id=766800
+  # TODO: Remove this workaround when we are using an Electron version based on chrome M62
+  if metaKey and KeyboardLayout.getCurrentKeyboardLayout() is 'com.apple.keylayout.Slovak'
+    if characters = slovakCmdCharactersForKeyCode(event.code)
+      if event.shiftKey
+        key = characters.withShift
+      else
+        key = characters.unmodified
+
   keystroke = ''
   if key is 'ctrl' or (ctrlKey and event.type isnt 'keyup')
     keystroke += 'ctrl'

      key = key.toUpperCase()
    else
      key = key.toLowerCase()
    if event.getModifierState('AltGraph') or (process.platform is 'darwin' and altKey)
      # All macOS layouts have an alt-modified character variant for every
      # single key. Therefore, if we always favored the alt variant, it would

          key = nonAltModifiedKey
          altKey = event.getModifierState('AltGraph')

  # TODO: Remove the com.apple.keylayout.DVORAK-QWERTYCMD
  # case when we are using an Electron version based on Chromium M62
  # That issue was fixed in https://bugs.chromium.org/p/chromium/issues/detail?id=747358
  # Use US equivalent character for non-latin characters in keystrokes with modifiers
  # or when using the dvorak-qwertycmd layout and holding down the command key.
  if (key.length is 1 and not isLatinKeymap(KeyboardLayout.getCurrentKeymap())) or
