Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
h3110w0r1d-y authored May 23, 2023
1 parent 0d859c0 commit b72d2cc
Showing 1 changed file with 11 additions and 53 deletions.
64 changes: 11 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,19 @@ rm app-update.yml # 防止自动更新
```js
var e=await this.api.bulkAccount();
e.account.pro_mode=true;
e.account.need_to_update_subscription=false;
e.account.current_period={
"from": "2022-01-01T00:00:00",
"until": "2099-01-01T00:00:00"
};
e.account.plan_type="Premium";
e.account.user_type="Premium";
e.account.expired_screen_type=null;

e.account.authorized_features.show_create_team_promotions=false;
e.student=null;
e.trial=null;
e.account.authorized_features.show_trial_section=false;
e.account.authorized_features.show_subscription_section=true;
e.account.authorized_features.show_github_account_section=false;
e.account.authorized_features.show_team_member_activation_into_identities_tour=false;
e.trial=null;
e.team=null;
e.student=null;
e.account.expired_screen_type=null;
e.personal_subscription={
"now": new Date().toISOString().slice(0, -5),
"status": "SUCCESS",
Expand All @@ -68,52 +65,13 @@ e.personal_subscription={
"plan_type": "SINGLE",
"is_expired": false
};
return .......
```

搜索await this.api.login

`const s=await this.api.login` -> `var s=await this.api.login`
```js
var s=await this.api.login({email:a,firebase_token:n,authy_token:r,password:$I.generateHash(t),device:HA.toJSON()});
s.bulk_account.account.pro_mode=true;
s.bulk_account.account.current_period={
"from": "2022-01-01T00:00:00",
"until": "2099-01-01T00:00:00"
};
s.bulk_account.account.plan_type="Premium";
s.bulk_account.account.user_type="Premium";
s.bulk_account.account.expired_screen_type=null;

s.bulk_account.account.authorized_features.show_create_team_promotions=false;
s.bulk_account.account.authorized_features.show_trial_section=false;
s.bulk_account.account.authorized_features.show_subscription_section=true;
s.bulk_account.account.authorized_features.show_github_account_section=false;
s.bulk_account.account.authorized_features.show_team_member_activation_into_identities_tour=false;
s.bulk_account.trial=null;
s.bulk_account.team=null;
s.bulk_account.student=null;
s.bulk_account.personal_subscription={
"now": new Date().toISOString().slice(0, -5),
"status": "SUCCESS",
"platform": "stripe",
"current_period": {
"from": "2022-01-01T00:00:00",
"until": "2099-01-01T00:00:00"
e.access_objects=[{
"period": {
"start": "2022-01-01T00:00:00",
"end": "2099-01-01T00:00:00"
},
"revokable": true,
"refunded": false,
"cancelable": true,
"reactivatable": false,
"currency": "usd",
"created_at": "2022-01-01T00:00:00",
"updated_at": new Date().toISOString().slice(0, -5),
"valid_until": "2099-01-01T00:00:00",
"auto_renew": true,
"price": 12.0,
"verbose_plan_name": "Termius Pro Monthly",
"plan_type": "SINGLE",
"is_expired": false
};
"title": "Pro"
}]
return .......
```
3. 启动Termius,登录账号,重启Termius

0 comments on commit b72d2cc

Please sign in to comment.