8000 make free trial per-account by Blooym · Pull Request #225 · goatcorp/XIVLauncher.Core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

make free trial per-account #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

make free trial per-account #225

wants to merge 2 commits into from

Conversation

Blooym
Copy link
Contributor
@Blooym Blooym commented May 1, 2025

A lot of users have been confused over the free trial setting, so I've moved it to somewhere more visible

@Blooym Blooym requested a review from a team as a code owner May 1, 2025 12:56
@rankynbass
Copy link
Contributor
rankynbass commented May 7, 2025

This isn't working: the free trial setting is always getting saved as false.

Edit: If I manually change the value of IsFreeTrial to true in the accounts.json file, it will show up in the list, but after selecting it, a new entry with IsFreeTrial set to false will be added.

Copy link
Contributor
@rankynbass rankynbass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix for free trial setting not working or saving

@@ -144,7 +145,7 @@ private void ProcessLogin(LoginAction action)

App.Settings.IsAutologin = this.loginFrame.IsAutoLogin;

var result = await Login(loginFrame.Username, loginFrame.Password, loginFrame.IsOtp, loginFrame.IsSteam, false, action).ConfigureAwait(false);
var result = await Login(loginFrame.Username, loginFrame.Password, loginFrame.IsOtp, loginFrame.IsSteam, loginFrame.IsFreeTrial, false, action).ConfigureAwait(false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These arguments are in the wrong order. If you look below to the Login() Task, doingAutoLogin follows isSteam, and then IsFreeTrail. Here, the loginFrame.IsFreeTrial is being passed as the doingAutoLogin, and isFreeTrial is always false.

Co-authored-by: Rankyn Bass <109918887+rankynbass@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.

2 participants
0