💚 fix upx
This commit is contained in:
parent
10634c7b77
commit
d988f98b81
8
build.sh
8
build.sh
@ -67,8 +67,8 @@ BUILD() {
|
|||||||
mv alist-* build
|
mv alist-* build
|
||||||
if [ "$1" != "release" ]; then
|
if [ "$1" != "release" ]; then
|
||||||
cd build
|
cd build
|
||||||
upx -9 ./alist-linux
|
upx -9 ./alist-linux*
|
||||||
upx -9 ./alist-windows
|
upx -9 ./alist-windows*
|
||||||
find . -type f -print0 | xargs -0 md5sum >md5.txt
|
find . -type f -print0 | xargs -0 md5sum >md5.txt
|
||||||
cat md5.txt
|
cat md5.txt
|
||||||
cd ..
|
cd ..
|
||||||
@ -118,8 +118,8 @@ BUILD_MUSL() {
|
|||||||
|
|
||||||
RELEASE() {
|
RELEASE() {
|
||||||
cd alist/build
|
cd alist/build
|
||||||
upx -9 ./alist-linux
|
upx -9 ./alist-linux*
|
||||||
upx -9 ./alist-windows
|
upx -9 ./alist-windows*
|
||||||
find . -type f -print0 | xargs -0 md5sum >md5.txt
|
find . -type f -print0 | xargs -0 md5sum >md5.txt
|
||||||
cat md5.txt
|
cat md5.txt
|
||||||
mkdir compress
|
mkdir compress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user