From b04b1932a6f9aa4f700e01663a8e870335ef0607 Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Thu, 23 Apr 2026 15:13:59 -0700 Subject: [PATCH] fix(hardcover): patch Sync value text when githubsync is installed first --- plugins/hardcover/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hardcover/patch.py b/plugins/hardcover/patch.py index b29755d..0f038bf 100644 --- a/plugins/hardcover/patch.py +++ b/plugins/hardcover/patch.py @@ -326,7 +326,7 @@ def patch_settings_cpp(repo_dir): content = content.replace(old_lambda, new_lambda) # ---- Value text: "Sync" for the HardcoverSync action row --------------- - if '"Sync"' not in content: + if 'SettingAction::HardcoverSync) {\n valueText = "Sync"' not in content: content = content.replace( ' if (setting.type == SettingType::TOGGLE && setting.valuePtr != nullptr) {', ' if (setting.type == SettingType::ACTION &&\n'