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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user