Skip to content

Auto-activate WeModPRO for all users - #191

Open
XxXananXxX69 wants to merge 1 commit into
k1tbyte:masterfrom
XxXananXxX69:xxxananxxx69-auto-activate-wemod-pro
Open

Auto-activate WeModPRO for all users#191
XxXananXxX69 wants to merge 1 commit into
k1tbyte:masterfrom
XxXananXxX69:xxxananxxx69-auto-activate-wemod-pro

Conversation

@XxXananXxX69

Copy link
Copy Markdown

Motivation

WeModPRO features should be available to all users by default without requiring manual checkbox selection. This change eliminates the optional checkbox and ensures Pro activation is always applied when patching WeMod.

Changes

  • Always include Pro activation: Modified OnPatchButtonClick() to unconditionally add EPatchType.ActivatePro to the patch types
  • Updated UI: Replaced the interactive checkbox with a static "✓ Always Active" indicator to clearly show that Pro is always enabled
  • Simplified logic: Removed the condition that checked ActivateProBox.IsChecked since Pro is now mandatory

Technical Details

The Pro patch works by injecting subscription:{period:"yearly",state:"active"} into account service responses through four patching vectors:

  1. getUserAccount() - Account fetch response
  2. setAccountWandBrandExperience() - Brand experience settings
  3. setAccountLanguage() - Language change response
  4. setAccountReducer() - Persistent state updates

Pro status is determined by the presence of the subscription object in the account data.

User Experience

  • Users can no longer disable Pro activation
  • Pro features are guaranteed to be available in every patched instance
  • The UI clearly indicates that Pro is always active instead of showing an optional checkbox

- Always include EPatchType.ActivatePro in patch types
- Replace checkbox UI with status indicator showing '✓ Always Active'
- Pro is now automatically applied without manual user selection
- Ensures all users get WeModPRO features automatically

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant