Skip to content

Commit

Permalink
make keybinds windows-only
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Feb 7, 2024
1 parent e1f05c6 commit e5f7e3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
{
"id": "geode.custom-keybinds",
"version": "v1.4.0",
"importance": "required"
"importance": "required",
"platforms": ["windows"]
}
],
"settings": {
Expand Down
7 changes: 7 additions & 0 deletions src/features/Keybinds.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#include <Geode/DefaultInclude.hpp>

// todo: CustomKeybinds on Mac
#ifdef GEODE_IS_WINDOWS

#include <geode.custom-keybinds/include/Keybinds.hpp>
#include <Geode/modify/EditorUI.hpp>

Expand Down Expand Up @@ -198,3 +203,5 @@ struct $modify(EditorUI) {
Category::EDITOR_MOVE, true
});
}

#endif

0 comments on commit e5f7e3e

Please sign in to comment.