private void DownloaderForm_InstallRequested(string filePath) { string extractPath = Path.Combine(Program.ToolsFolder, "ffmpeg.exe"); bool result = FFmpegHelper.ExtractFFmpeg(filePath, extractPath); if (result) { MessageBox.Show(Resources.ScreenRecordForm_DownloaderForm_InstallRequested_FFmpeg_successfully_downloaded_, "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show(Resources.ScreenRecordForm_DownloaderForm_InstallRequested_Download_of_FFmpeg_failed_, "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void DownloaderForm_InstallRequested(string filePath) { string extractPath = Path.Combine(Program.ToolsFolder, "ffmpeg.exe"); bool result = FFmpegHelper.ExtractFFmpeg(filePath, extractPath); if (result) { MessageBox.Show("FFmpeg successfully downloaded.", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Download of FFmpeg failed.", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error); } }