Skip to content

Commit f2acb62

Browse files
update to 1.17.1
1 parent 4cccc77 commit f2acb62

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

Android.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ LOCAL_CPP_FEATURES += exceptions
3333
include $(PREBUILT_SHARED_LIBRARY)
3434
# Creating prebuilt for dependency: codegen - version: 0.13.0
3535
include $(CLEAR_VARS)
36-
LOCAL_MODULE := codegen_0_13_0
36+
LOCAL_MODULE := codegen
3737
LOCAL_EXPORT_C_INCLUDES := extern/codegen
38-
LOCAL_SRC_FILES := extern/libcodegen_0_13_0.so
38+
LOCAL_SRC_FILES := extern/libcodegen.so
3939
include $(PREBUILT_SHARED_LIBRARY)
4040
# Creating prebuilt for dependency: questui - version: 0.11.0
4141
include $(CLEAR_VARS)
@@ -57,11 +57,11 @@ LOCAL_SRC_FILES += $(call rwildcard,extern/beatsaber-hook/src/inline-hook,*.cpp)
5757
LOCAL_SRC_FILES += $(call rwildcard,extern/beatsaber-hook/src/inline-hook,*.c)
5858
LOCAL_SHARED_LIBRARIES += modloader
5959
LOCAL_SHARED_LIBRARIES += beatsaber-hook_2_3_0
60-
LOCAL_SHARED_LIBRARIES += codegen_0_13_0
60+
LOCAL_SHARED_LIBRARIES += codegen
6161
LOCAL_SHARED_LIBRARIES += questui
6262
LOCAL_SHARED_LIBRARIES += custom-types
6363
LOCAL_LDLIBS += -llog
64-
LOCAL_CFLAGS += -I'extern/libil2cpp/il2cpp/libil2cpp' -DID='"RedBar"' -DVERSION='"1.5.0"' -I'./shared' -I'./extern' -isystem'extern/codegen/include'
64+
LOCAL_CFLAGS += -I'extern/libil2cpp/il2cpp/libil2cpp' -DID='"RedBar"' -DVERSION='"1.6.0"' -I'./shared' -I'./extern' -isystem'extern/codegen/include'
6565
LOCAL_CPPFLAGS += -std=c++2a
6666
LOCAL_C_INCLUDES += ./include ./src
6767
include $(BUILD_SHARED_LIBRARY)

mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"_QPVersion": "0.1.1",
33
"id": "RedBar",
44
"name": "RedBar",
5-
"version": "1.5.0",
5+
"version": "1.6.0",
66
"author": "ComputerElite",
77
"packageId": "com.beatgames.beatsaber",
8-
"packageVersion": "1.17.0",
8+
"packageVersion": "1.17.1",
99
"modFiles": [
1010
"libRedBar.so"
1111
],

src/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,10 @@ extern "C" void load() {
199199
getModConfig().Init(modInfo);
200200
QuestUI::Init();
201201

202+
202203
LoggerContextObject logger = getLogger().WithContext("load");
203204
QuestUI::Register::RegisterModSettingsViewController(modInfo, DidActivate);
205+
QuestUI::Register::RegisterMainMenuModSettingsViewController(modInfo, DidActivate);
204206
// Install our hooks
205207
INSTALL_HOOK(logger, GameEnergyUIPanel_HandleGameEnergyDidChange);
206208
INSTALL_HOOK(logger, GameEnergyCounter_LateUpdate);

0 commit comments

Comments
 (0)