adapt: adapt GMLIB v0.13.7 and LeviLamina v0.13.5

This commit is contained in:
子沐呀
2024-12-07 19:01:04 +08:00
Unverified
parent 02ef60b69c
commit d8ca1764c1
9 changed files with 42 additions and 38 deletions
+6 -6
View File
@@ -42,7 +42,7 @@ add_requires("gmlib")
-- import("package.tools.xmake").install(package)
-- end)
target("InventoryCheck") -- Change this to your plugin name.
target("InventoryCheck") -- Change this to your mod name.
add_cxflags(
"/EHa",
"/utf-8"
@@ -70,12 +70,12 @@ target("InventoryCheck") -- Change this to your plugin name.
set_symbols("debug")
after_build(function (target)
local plugin_packer = import("scripts.after_build")
local mod_packer = import("scripts.after_build")
local plugin_define = {
pluginName = target:name(),
pluginFile = path.filename(target:targetfile()),
local mod_define = {
modName = target:name(),
modFile = path.filename(target:targetfile()),
}
plugin_packer.pack_plugin(target,plugin_define)
mod_packer.pack_mod(target,mod_define)
end)