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] ## [0.7.13.1]
- Thumb creation bugfix - Thumb creation bugfix
- App filepath bugfixes
## [0.7.13.0] ## [0.7.13.0]
- Rewrites to diskutil code - Rewrites to diskutil code

Binary file not shown.

Binary file not shown.

View File

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

View File

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