Omit ".exe" from FFmpeg on Unix, and hack a note into the downloader
This commit is contained in:
parent
252e878b53
commit
7e99989746
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
@ -18,6 +19,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
txtLocation.Text = FFmpegService.FFmpegPath;
|
||||
txtUrl.Text = FFmpegService.Url;
|
||||
|
||||
if (OSTailoredCode.IsUnixHost) textBox1.Text = string.Join("\n", textBox1.Text.Split('\n').Take(3)) + $"\n\n(Linux user: Create a symlink with the below filename pointing to the ffmpeg binary with version {FFmpegService.Version}.)";
|
||||
}
|
||||
|
||||
int pct = 0;
|
||||
|
|
|
@ -130,7 +130,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
GlobalWin.Config.ResolveDefaults();
|
||||
FFmpegService.FFmpegPath = Path.Combine(PathUtils.DllDirectoryPath, "ffmpeg.exe");
|
||||
FFmpegService.FFmpegPath = Path.Combine(PathUtils.DllDirectoryPath, OSTC.IsUnixHost ? "ffmpeg" : "ffmpeg.exe");
|
||||
|
||||
StringLogUtil.DefaultToDisk = GlobalWin.Config.Movies.MoviesOnDisk;
|
||||
|
||||
|
|
Loading…
Reference in New Issue