-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make rename retry more frequently for longer, then try making a hardl…
…ink (#1497) We already had a single retry after a 250ms wait for our `rename` of the installer to make it shell actionable with the correct extension. This change makes it try every 100ms for 500ms, then use `copy_file` with a hard link option as a fall back. The hard link is better than a true copy, as it won't take up more space. But it won't get cleaned up on a successful install either. Long term we should put in some background cleanup to remove old installers that were abandoned due to failures.
- Loading branch information
Showing
3 changed files
with
74 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters