chmod on go-transcode

pull/221/head
Varun Patil 2022-11-09 03:21:50 -08:00
parent 8bd903b1e4
commit c10ad711f7
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ class VideoSetup extends Command
$goTranscodePath = realpath(__DIR__."/../../exiftool-bin/go-transcode-{$arch}-{$libc}"); $goTranscodePath = realpath(__DIR__."/../../exiftool-bin/go-transcode-{$arch}-{$libc}");
$output->writeln("Trying go-transcode from {$goTranscodePath}"); $output->writeln("Trying go-transcode from {$goTranscodePath}");
chmod($goTranscodePath, 0755);
$goTranscode = shell_exec($goTranscodePath.' --help'); $goTranscode = shell_exec($goTranscodePath.' --help');
if (!$goTranscode || false === strpos($goTranscode, 'Available Commands')) { if (!$goTranscode || false === strpos($goTranscode, 'Available Commands')) {