mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 00:05:52 +03:00
[PR #622] [MERGED] Better Download Handler (Class) #1685
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#1685
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PlayCover/PlayCover/pull/622
Author: @amirsaam
Created: 12/24/2022
Status: ✅ Merged
Merged: 12/29/2022
Merged by: @Depal1
Base:
develop← Head:New-Downloader📝 Commits (10+)
dae44c3New Downloader Class6742d00Change to FileManager APIf7107e2Merge branch 'develop' into New-Downloader65cd47bMerge branch 'PlayCover:develop' into New-Downloader5358f6eMerge branch 'PlayCover:develop' into New-Downloader182d780Resolving Reviews3f1d509As Isaac said 👽5b6b7cdpreventing possible multiple downloads76b6e11isaac gives this old man hard time40feabdMerge branch 'develop' into New-Downloader📊 Changes
6 files changed (+162 additions, -85 deletions)
View changed files
📝
PlayCover.xcodeproj/project.pbxproj(+21 -0)➕
PlayCover/AppInstaller/Downloader.swift(+121 -0)📝
PlayCover/Views/App Views/StoreAppView.swift(+7 -84)📝
PlayCover/Views/Sidebar Views/IPALibraryView.swift(+2 -0)📝
PlayCover/Views/ToastView.swift(+10 -1)📝
README.md(+1 -0)📄 Description
A new DownloadApp class has been introduced into PlayCover.
Able to cancel downloads, retries download as how many time you config it to do (default is 3)
Note: The DownloadManager package can handle multiple downloads at the same time and cancel each one of them if user wants but I avoided to implement that into PlayCover for multiple reasons like Installer.
DownloadApp class usage example:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.