Skip to content

Commit

Permalink
adapt: adapt GMLIB v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonZunsat committed Jun 21, 2024
1 parent a27cd92 commit 84490d9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
- uses: actions/checkout@v4

- uses: xmake-io/github-action-setup-xmake@v1

with:
xmake-version: branch@master
- run: |
xmake repo -u
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
- uses: actions/checkout@v4

- uses: xmake-io/github-action-setup-xmake@v1

with:
xmake-version: branch@master
- run: |
xmake repo -u
Expand Down
1 change: 0 additions & 1 deletion SDK-GMLIB
Submodule SDK-GMLIB deleted from 710cc6
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "native",
"author": "GroupMountain",
"description": "Show PlaceholderAPI anywhere you want.",
"version": "0.12.1",
"version": "0.13.0",
"dependencies": [
{
"name": "GMLIB"
Expand Down
6 changes: 3 additions & 3 deletions tooth.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "github.com/GroupMountain/EverywherePAPI",
"version": "0.12.1",
"version": "0.13.0",
"info": {
"name": "EverywherePAPI",
"description": "Show placeholder anywhere you want.",
Expand All @@ -15,9 +15,9 @@
"chat"
]
},
"asset_url": "https://github.com/GroupMountain/EverywherePAPI/releases/download/v0.12.1/EverywherePAPI-windows-x64.zip",
"asset_url": "https://github.com/GroupMountain/EverywherePAPI/releases/download/v0.13.0/EverywherePAPI-windows-x64.zip",
"dependencies": {
"github.com/GroupMountain/GMLIB": ">=0.12.1"
"github.com/GroupMountain/GMLIB": ">=0.13.0"
},
"files": {
"place": [
Expand Down
9 changes: 4 additions & 5 deletions xmake.lua
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
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")
end

-- Option 1: Use the latest version of LeviLamina released on GitHub.
add_requires("levilamina")
add_requires("gmlib")

-- Option 2: Use a specific version of LeviLamina released on GitHub.
-- add_requires("levilamina x.x.x")
Expand Down Expand Up @@ -52,15 +54,12 @@ target("EverywherePAPI") -- Change this to your plugin name.
add_files(
"src/**.cpp"
)
add_links(
"SDK-GMLIB/Lib/GMLIB"
)
add_includedirs(
"SDK-GMLIB",
"src"
)
add_packages(
"levilamina"
"levilamina",
"gmlib"
)
add_shflags(
"/DELAYLOAD:bedrock_server.dll" -- Magic to import symbols from BDS
Expand Down

0 comments on commit 84490d9

Please sign in to comment.