mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2024-12-27 08:42:53 +01:00
Change script directory tree
Userscripts have been moved from /scripts/userscripts to /userscripts. Core scripts have been moved from /scripts/corescripts to /cores.
This commit is contained in:
parent
36209bfe69
commit
03453c4e27
@ -1160,8 +1160,8 @@ vars.lua_state = lupa.LuaRuntime(unpack_returned_tuples=True)
|
|||||||
|
|
||||||
# Load bridge.lua
|
# Load bridge.lua
|
||||||
bridged = {
|
bridged = {
|
||||||
"corescript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "scripts", "corescripts"),
|
"corescript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "cores"),
|
||||||
"userscript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "scripts", "userscripts"),
|
"userscript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "userscripts"),
|
||||||
"lib_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "extern", "lualibs"),
|
"lib_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "extern", "lualibs"),
|
||||||
"load_callback": load_callback,
|
"load_callback": load_callback,
|
||||||
"decode": lua_decode,
|
"decode": lua_decode,
|
||||||
|
Loading…
Reference in New Issue
Block a user