Skip to content

Commit

Permalink
Updated BS-hook version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauriethefish committed Jan 8, 2021
1 parent bb8635b commit da8e5d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions template/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ include $(PREBUILT_SHARED_LIBRARY)

# Build the beatsaber-hook shared library, SPECIFICALLY VERSIONED!
include $(CLEAR_VARS)
LOCAL_MODULE := beatsaber-hook_0_8_2
LOCAL_MODULE := beatsaber-hook_1_0_4
LOCAL_EXPORT_C_INCLUDES := extern/beatsaber-hook
LOCAL_SRC_FILES := extern/libbeatsaber-hook_0_8_2.so
LOCAL_SRC_FILES := extern/libbeatsaber-hook_1_0_4.so
LOCAL_CPP_FEATURES += exceptions
include $(PREBUILT_SHARED_LIBRARY)

Expand All @@ -39,7 +39,7 @@ LOCAL_SRC_FILES += $(call rwildcard,src/,*.cpp)
LOCAL_SRC_FILES += $(call rwildcard,extern/beatsaber-hook/src/inline-hook,*.cpp)
LOCAL_SRC_FILES += $(call rwildcard,extern/beatsaber-hook/src/inline-hook,*.c)
LOCAL_SHARED_LIBRARIES += modloader
LOCAL_SHARED_LIBRARIES += beatsaber-hook_0_8_2
LOCAL_SHARED_LIBRARIES += beatsaber-hook_1_0_4
LOCAL_LDLIBS += -llog
LOCAL_CFLAGS += -I'extern/libil2cpp/il2cpp/libil2cpp' -DID='"#{id}"' -DVERSION='"0.1.0"' -I'./shared' -I'./extern' -isystem'extern/codegen/include'
LOCAL_CPPFLAGS += -std=c++2a
Expand Down
2 changes: 1 addition & 1 deletion template/bmbfmod.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{
"type": "HookModLibrary",
"installAction": {
"installLibraryFile": "libbeatsaber-hook_0_8_4.so"
"installLibraryFile": "libbeatsaber-hook_1_0_4.so"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion template/buildBMBF.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
& $PSScriptRoot/build.ps1

if ($?) {
Compress-Archive -Path "./libs/arm64-v8a/lib#{id}.so", "./libs/arm64-v8a/libbeatsaber-hook_0_8_4.so", "./bmbfmod.json" -DestinationPath "./#{id}_v0.1.0.zip" -Update
Compress-Archive -Path "./libs/arm64-v8a/lib#{id}.so", "./libs/arm64-v8a/libbeatsaber-hook_1_0_4.so", "./bmbfmod.json" -DestinationPath "./#{id}_v0.1.0.zip" -Update
}

0 comments on commit da8e5d2

Please sign in to comment.