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

Download and extract packages in a separate thread + installation queue #26

Closed
vgmoose opened this issue Oct 28, 2018 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@vgmoose
Copy link
Member

vgmoose commented Oct 28, 2018

Upon initiating a download for a package, the download/extraction progress status and bar should appear in a bar along the bottom, and allow the store to continue to be used to queue up more packages to be added to the bottom bar. Would also need #24 to be done properly (should display 1/2 Downloading, 2/2 Extracting)

@vgmoose vgmoose added the enhancement New feature or request label Oct 28, 2018
@vgmoose
Copy link
Member Author

vgmoose commented Oct 28, 2018

Also, the button should become disabled and just read "Installing...." / "Queued..." / "Removing..." depending on what it's waiting on.

@vgmoose
Copy link
Member Author

vgmoose commented Mar 30, 2019

std::thread is available in libnx now!

@vgmoose
Copy link
Member Author

vgmoose commented May 28, 2019

After playing with threads for a bit, and with issues on various platforms, I'm deciding it's best to keep our single threaded approach and come at managing downloads from the other end– the same way progress bars currently work via callbacks, but also process input at the same time to effectively allow multitasking while downloads occur.

As such, the installation queue talked about in this issue can be resolved with fortheusers/libget#14

@vgmoose vgmoose closed this as completed May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant