This is for advanced users only
Getting the token
Via GUI
- Open PurePKG and go into payment settings (in settings)
- Right Click/Hold the Repo you’d like a token for and hit “Get Token”
- Enter the udid and model identifier for your tv
- Hit Confirm to copy your Token & Secret
Via CLI
- Run
<path to purepkg executable> getToken <repo url> <model identifier> <udid>
on either macOS or Jailbroken iOS- Model identifier and udid should be from your tv but technically any works as long as they are both from the same device
Using token in tvOS
You can either:
- Type in the token & secret manually in PurePKG payment settings on tvOS or
- Add the keys for each repo in the Info.plist for PurePKG
How to do the second method:
- Get the token & secret you copied
- Open the Info.plist for PurePKG tvOS in your favorite plist editor
- Add the keys for your repos in this format:
<repo name>_token
or<repo name>_secret
with the values being the token or secret as a string - Get the Info.plist to your tv
- Go into PurePKG payment settings and hit the repo that you put a token & secret in for and it’ll ask if you’d like to use the values from the info.plist