Skip to content

Commit

Permalink
yawn
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegmd committed Feb 29, 2024
1 parent 9f8d30c commit 6d779f3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 9 additions & 0 deletions yawn/dllmain.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#include <windows.h>

BOOL WINAPI DllMain(
HINSTANCE hinstDLL, // handle to DLL module
DWORD fdwReason, // reason for calling function
LPVOID lpvReserved ) // reserved
{
return TRUE;
}

0 comments on commit 6d779f3

Please sign in to comment.