This commit is contained in:
2019-10-08 02:36:10 -07:00
parent d86b4852f9
commit 197c100c01
5 changed files with 14 additions and 13 deletions

View File

@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. Older chang
## [0.7.13.1]
- Thumb creation bugfix
- App filepath bugfixes
## [0.7.13.0]
- Rewrites to diskutil code

Binary file not shown.

Binary file not shown.

View File

@@ -38,7 +38,7 @@ $parser = new plistParser();
// Preferences
if (@$argv[1] == "Preferences...") {
exec($bin_php." ".__DIR__."/YubaPrefs.php 2>&1");
exec($bin_php." ".escapeshellarg(__DIR__."/YubaPrefs.php")." 2>&1");
die;
}
@@ -567,7 +567,7 @@ if ($p['thumbs']) {
foreach ($fx as $count => $array) {
$fid = $array[0];
$pathname = $array[1];
$tcmd = $bin_php." ".$helper." thumbs ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
$tcmd = $bin_php." ".escapeshellarg($helper)." thumbs ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
msg($tcmd);
$tline[] = $tcmd;
}
@@ -598,7 +598,7 @@ if ($p['icons']) {
foreach ($fx as $count => $array) {
$fid = $array[0];
$pathname = $array[1];
$icmd = $bin_php." ".$helper." icons ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
$icmd = $bin_php." ".escapeshellarg($helper)." icons ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
msg($icmd);
$iline[] = $icmd;
}

View File

@@ -4,16 +4,16 @@
//////////////////////////////////////////
// Bundled tools
$bin_gfi = __DIR__."/bin/GetFileInfo";
$bin_mediainfo = __DIR__."/bin/mediainfo";
$bin_exiftool = __DIR__."/bin/exiftool";
$bin_ffmpeg = __DIR__."/bin/ffmpeg";
$bin_qlthumb = __DIR__."/bin/ql-thumbnail";
$bin_qltool = __DIR__."/bin/qltool";
$bin_sox = __DIR__."/bin/sox";
$bin_pngcrush = __DIR__."/bin/pngcrush";
$bin_parallel = __DIR__."/bin/parallel";
$bin_convert = __DIR__."/bin/convert";
$bin_gfi = escapeshellarg(__DIR__."/bin/GetFileInfo");
$bin_mediainfo = escapeshellarg(__DIR__."/bin/mediainfo");
$bin_exiftool = escapeshellarg(__DIR__."/bin/exiftool");
$bin_ffmpeg = escapeshellarg(__DIR__."/bin/ffmpeg");
$bin_qlthumb = escapeshellarg(__DIR__."/bin/ql-thumbnail");
$bin_qltool = escapeshellarg(__DIR__."/bin/qltool");
$bin_sox = escapeshellarg(__DIR__."/bin/sox");
$bin_pngcrush = escapeshellarg(__DIR__."/bin/pngcrush");
$bin_parallel = escapeshellarg(__DIR__."/bin/parallel");
$bin_convert = escapeshellarg(__DIR__."/bin/convert");
// System tools
$bin_php = "php";