1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 14:39:25 +08:00

add: add hook operation tool

This commit is contained in:
0O0o0oOoO00
2025-10-27 17:20:55 +08:00
parent da796d990c
commit d71b9179ce
13 changed files with 127 additions and 2 deletions

View File

@@ -88,4 +88,11 @@ def get_config_mod(config_name):
return 'alas'
def has_config_mod(config_name):
return os.path.exists(f"./config/{config_name}.json")
return os.path.exists(f"./config/{config_name}.json")
old_get_available_func = get_available_func
def get_available_func():
return [*old_get_available_func(), "HookOp"]