0.7.12.6pre

This commit is contained in:
2019-06-11 02:00:18 -07:00
parent 86098e024d
commit eba7476d3c
7 changed files with 3 additions and 6 deletions

Binary file not shown.

View File

@@ -1,7 +1,6 @@
<?php <?php
// Filetypes // Filetypes
// 0.7.12
////////////////////////////////////////// //////////////////////////////////////////
// Metadata tools // Metadata tools

View File

@@ -1,7 +1,6 @@
<?php <?php
// Classes // Classes & Functions
// 0.7.12
////////////////////////////////////////// //////////////////////////////////////////
class ProgressBar { class ProgressBar {

View File

@@ -32,7 +32,7 @@ switch ($mode) {
$stmt = $dbp->prepare("INSERT INTO icons VALUES (:fid, :hash, :created, :relative_path, :tool)"); $stmt = $dbp->prepare("INSERT INTO icons VALUES (:fid, :hash, :created, :relative_path, :tool)");
$cmd = $bin_qltool." di ".$shellpath." ".$p['thumb_size']." ".$p['thumb_size']." | base64 --decode | ".$bin_magick." convert - -scale 50% -strip -define png:compression-level=9 ".$tfile; $cmd = $bin_qltool." di ".$shellpath." ".$p['thumb_size']." ".$p['thumb_size']." | base64 --decode > ".$tfile;
shell_exec($cmd); shell_exec($cmd);
$stmt->BindValue(":fid",$fid); $stmt->BindValue(":fid",$fid);
@@ -46,7 +46,7 @@ switch ($mode) {
} else { } else {
$dfile = $bpath."/icons/".substr($hash, 0, 2)."/".$hash.".png"; $dfile = $bpath."/icons/".substr($hash, 0, 2)."/".$hash.".png";
if (!is_dir(dirname($dfile))) { mkdir(dirname($dfile)); } if (!is_dir(dirname($dfile))) { mkdir(dirname($dfile)); }
rename($tfile,$dfile); shell_exec("sips -z ".$p['thumb_size']." ".$p['thumb_size']." ".$tfile." --out ".$dfile);
$stmt->BindValue(":created",time()); $stmt->BindValue(":created",time());
$stmt->BindValue(":relative_path",substr($dfile,strlen($bpath))); $stmt->BindValue(":relative_path",substr($dfile,strlen($bpath)));
$stmt->BindValue(":tool","qltool"); $stmt->BindValue(":tool","qltool");

View File

@@ -16,7 +16,6 @@ $deep = $argv[3];
$dest = $argv[4]; $dest = $argv[4];
$dmg = $dest."/Polyfill.sparsebundle"; $dmg = $dest."/Polyfill.sparsebundle";
echo $dmg;
if (file_exists($dmg)) { if (file_exists($dmg)) {
exec("trash ".$dmg."; umount -f /Volumes/Polyfill"); exec("trash ".$dmg."; umount -f /Volumes/Polyfill");

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB