mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2026-02-23 01:42:38 +00:00
Remove DEFAULT_FOLDER handling (#23281)
This commit is contained in:
@@ -21,11 +21,9 @@ def is_keyboard(keyboard_name):
|
||||
if Path(keyboard_name).is_absolute():
|
||||
return False
|
||||
|
||||
keyboard_path = QMK_FIRMWARE / 'keyboards' / keyboard_name
|
||||
rules_mk = keyboard_path / 'rules.mk'
|
||||
keyboard_json = keyboard_path / 'keyboard.json'
|
||||
keyboard_json = QMK_FIRMWARE / 'keyboards' / keyboard_name / 'keyboard.json'
|
||||
|
||||
return rules_mk.exists() or keyboard_json.exists()
|
||||
return keyboard_json.exists()
|
||||
|
||||
|
||||
def under_qmk_firmware(path=Path(os.environ['ORIG_CWD'])):
|
||||
|
||||
Reference in New Issue
Block a user