diff --git a/xmake.lua b/xmake.lua index cf294f0c..467a2713 100644 --- a/xmake.lua +++ b/xmake.lua @@ -105,6 +105,16 @@ target("cyber_engine_tweaks") cprint("Cyber Engine Tweaks installed at: ${underline}%s", "$(installpath)") end) +target("fake_cyber_engine_tweaks") + set_kind("shared") + set_group("yawn") + set_filename("cyber_engine_tweaks.asi") + add_files("yawn/dllmain.cpp") + + on_package(function(target) + os.cp(target:targetfile(), "package/bin/x64/plugins/") + end) + option("installpath") set_default("installpath") set_showmenu(true) diff --git a/yawn/dllmain.cpp b/yawn/dllmain.cpp new file mode 100644 index 00000000..be38e61c --- /dev/null +++ b/yawn/dllmain.cpp @@ -0,0 +1,9 @@ +#include + +BOOL WINAPI DllMain( + HINSTANCE hinstDLL, // handle to DLL module + DWORD fdwReason, // reason for calling function + LPVOID lpvReserved ) // reserved +{ + return TRUE; +} \ No newline at end of file