use super on windows for now

This commit is contained in:
CJ Pais 2025-08-02 19:29:05 -07:00
parent 3bd65da75a
commit 09547c39b1
2 changed files with 1 additions and 7 deletions

View file

@ -53,11 +53,6 @@ pub fn change_binding(
if let Err(e) = _unregister_shortcut(&app, binding_to_modify.clone()) {
let error_msg = format!("Failed to unregister shortcut: {}", e);
eprintln!("change_binding error: {}", error_msg);
return Ok(BindingResponse {
success: false,
binding: None,
error: Some(error_msg),
});
}
// Validate the new shortcut before we touch the current registration

View file

@ -49,8 +49,7 @@ export const getKeyName = (
case "meta":
// Windows key on Windows/Linux, Command key on Mac
if (osType === "macos") return "command";
if (osType === "windows") return "win";
return "super"; // Linux convention
return "super";
default:
return baseModifier;
}