Skip to content

Downloader dedup #4287

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Downloader dedup #4287

wants to merge 4 commits into from

Conversation

YoshiRulz
Copy link
Member

@YoshiRulz YoshiRulz commented Apr 10, 2025

Does enough for #4275 that I'd be comfortable putting out a release with it.

I've done some testing of the FFmpeg one on NixOS, but it needs more testing.

@YoshiRulz YoshiRulz linked an issue Apr 10, 2025 that may be closed by this pull request
if (OSTailoredCode.IsUnixHost)
{
OSTailoredCode.ConstructSubshell("chmod", $"+x {DownloadTo}", checkStdout: false).Start();
Thread.Sleep(50); // Linux I/O flush idk
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realize this is mostly copy-pasted code but shouldn't this idelly be Process.WaitForExit() instead of an arbitrary sleep?

@YoshiRulz YoshiRulz added this to the 2.10.1 milestone May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Verify downloaded binaries
2 participants