mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
shrink sfx some more
This commit is contained in:
parent
866c74c841
commit
2a6a3aedd0
|
@ -71,7 +71,7 @@ cd sfx
|
||||||
|
|
||||||
tar -zxf $f
|
tar -zxf $f
|
||||||
mv Jinja2-*/jinja2 .
|
mv Jinja2-*/jinja2 .
|
||||||
rm -rf Jinja2-* jinja2/testsuite
|
rm -rf Jinja2-* jinja2/testsuite jinja2/tests.py
|
||||||
|
|
||||||
# msys2 tar is bad, make the best of it
|
# msys2 tar is bad, make the best of it
|
||||||
echo collecting source
|
echo collecting source
|
||||||
|
@ -123,8 +123,9 @@ done
|
||||||
}
|
}
|
||||||
|
|
||||||
# up2k goes from 28k to 22k laff
|
# up2k goes from 28k to 22k laff
|
||||||
for f in copyparty/web/*.js; do
|
echo entabbening
|
||||||
unexpand.exe -t 4 --first-only <"$f" >t
|
find | grep -E '\.(js|css|html|py)$' | while IFS= read -r f; do
|
||||||
|
unexpand -t 4 --first-only <"$f" >t
|
||||||
tmv "$f"
|
tmv "$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -260,7 +260,7 @@ def read_py(binp):
|
||||||
|
|
||||||
def get_pys():
|
def get_pys():
|
||||||
ver, chk = read_py(sys.executable)
|
ver, chk = read_py(sys.executable)
|
||||||
if chk:
|
if chk or PY2:
|
||||||
return [[chk, ver, sys.executable]]
|
return [[chk, ver, sys.executable]]
|
||||||
|
|
||||||
hits = {sys.executable.lower(): sys.executable}
|
hits = {sys.executable.lower(): sys.executable}
|
||||||
|
|
Loading…
Reference in a new issue