Skip to content

Commit

Permalink
Do not mention sudo if on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Jan 13, 2024
1 parent eb9195b commit c54a49a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TwitchDownloaderCLI/Tools/FfmpegHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ private static void DownloadFfmpeg()
}
catch
{
Console.WriteLine("[ERROR] - Unable to update FFmpeg file permissions. Run 'sudo chmod +x ffmpeg' if further FFmpeg errors occur.");
Console.WriteLine("[ERROR] - Unable to update FFmpeg file permissions. Run '{0}' if further FFmpeg errors occur.",
RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? "chmod +x ffmpeg" : "sudo chmod +x ffmpeg");
}
}

Expand Down

0 comments on commit c54a49a

Please sign in to comment.