-
-
Notifications
You must be signed in to change notification settings - Fork 40
GitHub and GitLab API Tokens
ProtonUp-Qt uses the GitHub API. If the API is used too much it can happen that it won't load new releases. In that case you have to wait a few hours and it should work again. Alternatively, you can setup a GitHub or GitLab API token.
You can check if the API is working for you by clicking following link, it should show a list of URLs: https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases
- Create a new Token: https://github.com/settings/tokens (no extra scopes required)
- Run ProtonUp-Qt using following command:
PUPGUI_GHA_TOKEN=token_here flatpak run net.davidotek.pupgui2
- Create a new Token here: https://gitlab.com/-/user_settings/personal_access_tokens
- Run ProtonUp-Qt using following command:
PUPGUI_GLA_TOKEN=token_here flatpak run net.davidotek.pupgui2
In ProtonUp-Qt version 2.9.0 and newer, it is also possible to configure the tokens in ProtonUp-Qt's configuration file without requiring environment variables. A GUI option will follow.
You can find the configuration file under ~/.var/app/net.davidotek.pupgui2/config/pupgui/config.ini
(installed from app store) or ~/.config/pupgui/config.ini
(AppImage from GitHub).
Append the following lines to the config file or edit them if they already exist:
github_api_token = your-GitHub.com-token-here
gitlab_api_token = your-GitLab.com-token-here
You may, but don't have to configure both a GitHub and a GitLab token.
NOTE: If the environment variables are set, they will override the tokens configured in the config file!