mirror of
https://github.com/9001/copyparty.git
synced 2025-10-05 19:42:29 +02:00
sfx-customizer:
* better translation stripping * add support in bruteforcer * add examples and fix login-banner usage example
This commit is contained in:
parent
cdd2da0208
commit
03b13e8a1c
5 changed files with 42 additions and 12 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# if specified, keep the following sfx flags last: gz gzz fast
|
||||
|
||||
parallel=1
|
||||
|
||||
[ -e make-sfx.sh ] || cd scripts
|
||||
|
@ -35,6 +37,14 @@ f=../dist/copyparty-sfx
|
|||
|
||||
$f$s.py --version >/dev/null
|
||||
|
||||
while [ "$1" ]; do
|
||||
case "$1" in
|
||||
gz*) break;;
|
||||
fast) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
[ $parallel -gt 1 ] && {
|
||||
printf '\033[%s' s 2r H "0;1;37;44mbruteforcing sfx size -- press enter to terminate" K u "7m $* " K $'27m\n'
|
||||
trap "rm -f .sfx-run; printf '\033[%s' s r u" INT TERM EXIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue