diff --git a/xmake.lua b/xmake.lua index 69844a6..6fb43f6 100644 --- a/xmake.lua +++ b/xmake.lua @@ -23,12 +23,12 @@ target("skip_main_menu") cprint("Installed at: ${underline}%s", output_dir) end) on_package(function (target) - os.rm("/build/package/*") - os.mkdir("/build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu/archive") - os.cp("scripts/*", "/build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu") - os.cp("archive/*", "/build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu/archive") - os.cp("LICENSE", "/build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu") - os.cp(target:targetfile(), "/build/package/bin/x64/plugins/") + os.rm("build/package/*") + os.mkdir("build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu/archive") + os.cp("scripts/*", "build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu") + os.cp("archive/*", "build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu/archive") + os.cp("LICENSE", "build/package/bin/x64/plugins/cyber_engine_tweaks/mods/cp_skip_main_menu") + os.cp(target:targetfile(), "build/package/bin/x64/plugins/") end)