Skip to content

Commit

Permalink
Fixing some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vcmikuu committed Aug 14, 2024
1 parent 4a683e7 commit 45c2393
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
14 changes: 7 additions & 7 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@
"detail": "Builds the library",
"type": "shell",
"command": "./scripts/build.ps1",
"group": {
"kind": "build",
"isDefault": true
},
"group": "build",
"options": {
"env": {}
},
Expand Down Expand Up @@ -75,21 +72,24 @@
"label": "Start Logging",
"detail": "Begin logging from the Quest to the console",
"type": "shell",
"command": "./scripts/start-logging.ps1",
"command": "./scripts/start-logging.ps1"
},
{
"label": "Start logging to file",
"detail": "Begin logging from the Quest to the console and saving output to a file 'logcat.log'",
"type": "shell",
"command": "./scripts/start-logging.ps1 --file",
"command": "./scripts/start-logging.ps1 --file"
},
{
"label": "Build QMOD",
"detail": "Builds a .qmod to be installed into BMBF or QuestPatcher",
"type": "shell",
"command": "./scripts/build.ps1 && ./scripts/createqmod.ps1",
"args": [],
"group": "build",
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"env": {}
},
Expand Down
2 changes: 1 addition & 1 deletion include/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#include "config-utils/shared/config-utils.hpp"

DECLARE_CONFIG(ModConfig,
CONFIG_VALUE(Active, bool, "Disable the expanding of the Cover Art", false);
CONFIG_VALUE(Active, bool, "Disable the Mod (RESTART REQUIRED FOR DISABLING)", false);
)
8 changes: 1 addition & 7 deletions qpm.shared.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,7 @@
"tomb": [
"pwsh ./scripts/pull-tombstone.ps1"
]
},
"qmodIncludeDirs": [
"./build",
"./extern/libs"
],
"qmodIncludeFiles": [],
"qmodOutput": "./ImageCoverExpander.qmod"
}
},
"dependencies": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ MOD_EXPORT_FUNC void late_load() {
getModConfig().Init(modInfo);
BSML::Init();

BSML::Register::RegisterMainMenu("ImageCoverExpander", "ImageCoverExpander", "Hide/Show Bigger Image Cover Art", DidActivate);
BSML::Register::RegisterSettingsMenu("CoverExpander", DidActivate, false);
Logger.info("Installing hooks...");

INSTALL_HOOK(Logger, m_DidActivate);
Expand Down

0 comments on commit 45c2393

Please sign in to comment.