mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
Fix downloading free apps
This commit is contained in:
parent
9c6ae2f311
commit
e7750c4637
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ typealias SSPurchaseCompletion = (purchase: SSPurchase!, completed: Bool, error:
|
|||
extension SSPurchase {
|
||||
convenience init(adamId: UInt64, account: ISStoreAccount) {
|
||||
self.init()
|
||||
self.buyParameters = "productType=C&price=0&salableAdamId=\(adamId)&pricingParameters=STDRDL"
|
||||
self.buyParameters = "productType=C&price=0&salableAdamId=\(adamId)&pricingParameters=STDRDL&pg=default&appExtVrsId=0"
|
||||
self.itemIdentifier = adamId
|
||||
self.accountIdentifier = account.dsID
|
||||
self.appleID = account.identifier
|
||||
|
|
Loading…
Reference in a new issue