diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 6a6b23f2..26ecb7da 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (0, 12, 7) +VERSION = (0, 12, 8) CODENAME = "fil\033[33med" -BUILD_DT = (2021, 7, 31) +BUILD_DT = (2021, 8, 1) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 57ce39e3..e7511b49 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -1709,7 +1709,7 @@ var fileman = (function () { r.tx(srcdir); return; } - toast.inf(0, 'pasting ' + (req.length + 1) + ' items\n\n' + vp); + toast.inf(0, 'pasting ' + (req.length + 1) + ' items\n\n' + uricom_dec(vp)[0]); var dst = get_evpath() + vp.split('/').slice(-1)[0]; diff --git a/scripts/make-sfx.sh b/scripts/make-sfx.sh index af522db4..6f450b99 100755 --- a/scripts/make-sfx.sh +++ b/scripts/make-sfx.sh @@ -268,7 +268,7 @@ zdir="$tmpdir/cpp-mksfx" mkdir -p "$zdir" echo a > "$zdir/$stamp" nf=$(ls -1 "$zdir"/arc.* | wc -l) -[ $nf -ge 10 ] && [ ! $repack ] && use_zdir=1 || use_zdir= +[ $nf -ge 2 ] && [ ! $repack ] && use_zdir=1 || use_zdir= [ $use_zdir ] || { echo "$nf alts += 1"