diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf80ebc..c29f71f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - with: - submodules: recursive - - - uses: actions/checkout@v4 - uses: xmake-io/github-action-setup-xmake@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d01ad80..05e599c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,10 +9,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - with: - submodules: recursive - - - uses: actions/checkout@v4 - uses: xmake-io/github-action-setup-xmake@v1 diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 973fe68..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "SDK-GMLIB"] - path = SDK-GMLIB - url = https://github.com/GroupMountain/SDK-GMLIB.git diff --git a/SDK-GMLIB b/SDK-GMLIB deleted file mode 160000 index 920b4e2..0000000 --- a/SDK-GMLIB +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 920b4e243aa0961ee3c0ad011d8b5e249d8717ca diff --git a/xmake.lua b/xmake.lua index b60986c..435db9f 100644 --- a/xmake.lua +++ b/xmake.lua @@ -1,6 +1,7 @@ add_rules("mode.debug", "mode.release") add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git") +add_repositories("groupmountain-repo https://github.com/GroupMountain/xmake-repo.git") if not has_config("vs_runtime") then set_runtimes("MD") @@ -9,6 +10,7 @@ end -- Option 1: Use the latest version of LeviLamina released on GitHub. add_requires("levilamina") add_requires("legacyremotecall") +add_requires("gmlib") -- Option 2: Use a specific version of LeviLamina released on GitHub. -- add_requires("levilamina x.x.x") @@ -53,16 +55,13 @@ target("GMLIB-LegacyRemoteCallApi") -- Change this to your plugin name. add_files( "src/**.cpp" ) - add_links( - "SDK-GMLIB/Lib/GMLIB" - ) add_includedirs( - "SDK-GMLIB", "src" ) add_packages( "levilamina", - "legacyremotecall" + "legacyremotecall", + "gmlib" ) add_shflags( "/DELAYLOAD:bedrock_server.dll" -- Magic to import symbols from BDS