Skip to content
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

Game downloading #4

Open
leafo opened this issue Dec 20, 2014 · 1 comment
Open

Game downloading #4

leafo opened this issue Dec 20, 2014 · 1 comment

Comments

@leafo
Copy link
Owner

leafo commented Dec 20, 2014

Game downloading needs to be coded. For the initial release it will be done over HTTP. There should be a simple progress bar. If a download fails, then it must be canceled and started over. Files should be downloaded to QStandardPaths::​writableLocation and a manifest file should be written.

By default the user shouldn't have to pick which file is downloaded. An API call for the game's files is done, then if there is just 1 file that matches the platform it will be downloaded. If there are multiple files for the given platform, or there are no files for the platform then a file can be manually chosen by the user.

To download a given file, an API call is made with the file's ID and an expiring URL is returned.

Games can optionally have install instructions written as text provided by the developer. We could show these after the download completes?

None of these APIs exist yet, I'll post them here with docs as they become available.

@joseccandido
Copy link
Contributor

Needs an api call to get install instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants