Skip to content

Commit

Permalink
update to 1.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ComputerElite authored Sep 13, 2021
1 parent 4cccc77 commit f2acb62
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ LOCAL_CPP_FEATURES += exceptions
include $(PREBUILT_SHARED_LIBRARY)
# Creating prebuilt for dependency: codegen - version: 0.13.0
include $(CLEAR_VARS)
LOCAL_MODULE := codegen_0_13_0
LOCAL_MODULE := codegen
LOCAL_EXPORT_C_INCLUDES := extern/codegen
LOCAL_SRC_FILES := extern/libcodegen_0_13_0.so
LOCAL_SRC_FILES := extern/libcodegen.so
include $(PREBUILT_SHARED_LIBRARY)
# Creating prebuilt for dependency: questui - version: 0.11.0
include $(CLEAR_VARS)
Expand All @@ -57,11 +57,11 @@ 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_2_3_0
LOCAL_SHARED_LIBRARIES += codegen_0_13_0
LOCAL_SHARED_LIBRARIES += codegen
LOCAL_SHARED_LIBRARIES += questui
LOCAL_SHARED_LIBRARIES += custom-types
LOCAL_LDLIBS += -llog
LOCAL_CFLAGS += -I'extern/libil2cpp/il2cpp/libil2cpp' -DID='"RedBar"' -DVERSION='"1.5.0"' -I'./shared' -I'./extern' -isystem'extern/codegen/include'
LOCAL_CFLAGS += -I'extern/libil2cpp/il2cpp/libil2cpp' -DID='"RedBar"' -DVERSION='"1.6.0"' -I'./shared' -I'./extern' -isystem'extern/codegen/include'
LOCAL_CPPFLAGS += -std=c++2a
LOCAL_C_INCLUDES += ./include ./src
include $(BUILD_SHARED_LIBRARY)
4 changes: 2 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"_QPVersion": "0.1.1",
"id": "RedBar",
"name": "RedBar",
"version": "1.5.0",
"version": "1.6.0",
"author": "ComputerElite",
"packageId": "com.beatgames.beatsaber",
"packageVersion": "1.17.0",
"packageVersion": "1.17.1",
"modFiles": [
"libRedBar.so"
],
Expand Down
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ extern "C" void load() {
getModConfig().Init(modInfo);
QuestUI::Init();


LoggerContextObject logger = getLogger().WithContext("load");
QuestUI::Register::RegisterModSettingsViewController(modInfo, DidActivate);
QuestUI::Register::RegisterMainMenuModSettingsViewController(modInfo, DidActivate);
// Install our hooks
INSTALL_HOOK(logger, GameEnergyUIPanel_HandleGameEnergyDidChange);
INSTALL_HOOK(logger, GameEnergyCounter_LateUpdate);
Expand Down

0 comments on commit f2acb62

Please sign in to comment.