0.7.13.1
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file. Older changes are summarized on individual commits.
|
||||
|
||||
## [0.7.13.1]
|
||||
- Thumb creation bugfix
|
||||
|
||||
## [0.7.13.0]
|
||||
- Rewrites to diskutil code
|
||||
- Rewrites to mdutil code
|
||||
- Restructure paths
|
||||
- Remove bundled Imagemagick
|
||||
- Fixed a sort order bug in rtc.php
|
||||
BIN
Tester.zip
BIN
Tester.zip
Binary file not shown.
@@ -17,6 +17,7 @@ $bin_qltool = __DIR__."/bin/qltool";
|
||||
$bin_sox = __DIR__."/bin/sox";
|
||||
$bin_pngquant = __DIR__."/bin/pngquant";
|
||||
$bin_parallel = __DIR__."/bin/parallel";
|
||||
$bin_convert = __DIR__."/bin/convert";
|
||||
|
||||
// System tools
|
||||
$bin_php = "php";
|
||||
@@ -24,12 +25,10 @@ $bin_qlmanage = "qlmanage";
|
||||
$bin_sips = "sips";
|
||||
|
||||
// External tools
|
||||
$bin_convert = "/opt/local/bin/convert";
|
||||
$bin_vips = "/opt/local/bin/vipsthumbnail";
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
if (empty(shell_exec("which ".$bin_convert))) { echo "Binary not found: ".$bin_convert."\n"; }
|
||||
if (empty(shell_exec("which ".$bin_vips))) { echo "Binary not found: ".$bin_vips."\n"; }
|
||||
|
||||
if (empty($argv[2])) { echo "Nothing dragged"; die; }
|
||||
|
||||
BIN
Yuba.app.zip
BIN
Yuba.app.zip
Binary file not shown.
10
Yuba.php
10
Yuba.php
@@ -68,7 +68,7 @@ if (!is_dir($tmpdir)) { mkdir($tmpdir,0777,true); }
|
||||
|
||||
$stamp = date("Y-m-d_H-i-s", $mytime);
|
||||
|
||||
if (!isset($argv[1])) { echo "No input"; die; }
|
||||
if (!isset($argv[1]) || $argv[1] == "") { echo "No input"; die; }
|
||||
$zpath = realpath(@$argv[1]);
|
||||
if ($p['bdest']) { $bdest = realpath($p['bdest']); } else { $bdest = "/Users/".get_current_user()."/Documents/Yuba/"; }
|
||||
if (!is_dir($bdest)) { if (!mkdir($bdest)) { echo "Error creating directory: ".$bdest; die; } }
|
||||
@@ -569,10 +569,10 @@ if ($p['thumbs']) {
|
||||
$pathname = $array[1];
|
||||
$tcmd = $bin_php." ".$helper." thumbs ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
|
||||
msg($tcmd);
|
||||
$line[] = $tcmd;
|
||||
$tline[] = $tcmd;
|
||||
}
|
||||
|
||||
file_put_contents($batchfile,implode("\n", $line));
|
||||
file_put_contents($batchfile,implode("\n", $tline));
|
||||
echo ProgressBar::finish($wopt_clear);
|
||||
|
||||
echo ProgressBar::start($passed_file,"Running thumb batch (".stepString().")");
|
||||
@@ -600,10 +600,10 @@ if ($p['icons']) {
|
||||
$pathname = $array[1];
|
||||
$icmd = $bin_php." ".$helper." icons ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
|
||||
msg($icmd);
|
||||
$line[] = $icmd;
|
||||
$iline[] = $icmd;
|
||||
}
|
||||
|
||||
file_put_contents($batchfile,implode("\n", $line));
|
||||
file_put_contents($batchfile,implode("\n", $iline));
|
||||
echo ProgressBar::finish($wopt_clear);
|
||||
|
||||
echo ProgressBar::start($passed_file,"Running icon batch (".stepString().")");
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<key>InterfaceType</key>
|
||||
<string>Progress Bar</string>
|
||||
<key>InterpreterPath</key>
|
||||
<string>/usr/bin/php</string>
|
||||
<string>/bin/bash</string>
|
||||
<key>Name</key>
|
||||
<string>Yuba</string>
|
||||
<key>NibPath</key>
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.7.13.0
|
||||
0.7.13.1
|
||||
@@ -13,6 +13,7 @@ $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";
|
||||
|
||||
// System tools
|
||||
$bin_php = "php";
|
||||
@@ -20,7 +21,6 @@ $bin_qlmanage = "qlmanage";
|
||||
$bin_sips = "sips";
|
||||
|
||||
// External tools
|
||||
$bin_convert = "/opt/local/bin/convert";
|
||||
$bin_vips = "/opt/local/bin/vipsthumbnail";
|
||||
|
||||
// Treat these directories as files
|
||||
|
||||
Reference in New Issue
Block a user