From 97950d39c3da3c3cdd5fd00e5fcb7facc4d220ec Mon Sep 17 00:00:00 2001 From: RikudouPatrickstar <68163551+RikudouPatrickstar@users.noreply.github.com> Date: Thu, 2 Jun 2022 22:57:32 +0800 Subject: [PATCH] =?UTF-8?q?mips=20mipsle=E5=9D=87=E6=94=B9=E7=94=A83.93?= =?UTF-8?q?=E7=89=88upx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_clash_core.yaml | 2 +- .github/workflows/update_dotnet_core.yaml | 2 +- .github/workflows/update_meta_core.yaml | 2 +- .github/workflows/update_prenium_core.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update_clash_core.yaml b/.github/workflows/update_clash_core.yaml index 020911e..6d993ae 100644 --- a/.github/workflows/update_clash_core.yaml +++ b/.github/workflows/update_clash_core.yaml @@ -29,7 +29,7 @@ jobs: wget "${download_url}/${download_version}/clash-linux-${arch}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${arch} chmod +x ./tmp/clash-linux-${arch} if [ "${arch}" != "armv5" ];then - if [ "${arch}" = "mips-softfloat" ];then + if [[ ${arch} == mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${arch} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${arch} diff --git a/.github/workflows/update_dotnet_core.yaml b/.github/workflows/update_dotnet_core.yaml index 5945eba..7641078 100644 --- a/.github/workflows/update_dotnet_core.yaml +++ b/.github/workflows/update_dotnet_core.yaml @@ -29,7 +29,7 @@ jobs: wget "${download_url}/${download_version}/clash-linux-${arch}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${arch} chmod +x ./tmp/clash-linux-${arch} if [ "${arch}" != "armv5" ];then - if [ "${arch}" = "mips-softfloat" ];then + if [[ ${arch} == mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${arch} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${arch} diff --git a/.github/workflows/update_meta_core.yaml b/.github/workflows/update_meta_core.yaml index c779213..8a281a5 100644 --- a/.github/workflows/update_meta_core.yaml +++ b/.github/workflows/update_meta_core.yaml @@ -37,7 +37,7 @@ jobs: wget "${download_url}/${download_tag}/Clash.Meta-linux-${archs[i]}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${new_name[i]} chmod +x ./tmp/clash-linux-${new_name[i]} if [ "${archs[i]}" != "armv5" ];then - if [ "${archs[i]}" = "mips-softfloat" ];then + if [[ ${archs[i]} = mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${new_name[i]} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${new_name[i]} diff --git a/.github/workflows/update_prenium_core.yaml b/.github/workflows/update_prenium_core.yaml index ada90ad..8ae65ff 100644 --- a/.github/workflows/update_prenium_core.yaml +++ b/.github/workflows/update_prenium_core.yaml @@ -29,7 +29,7 @@ jobs: wget "${download_url}/${download_version}/clash-linux-${arch}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${arch} chmod +x ./tmp/clash-linux-${arch} if [ "${arch}" != "armv5" ];then - if [ "${arch}" = "mips-softfloat" ];then + if [[ ${arch} == mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${arch} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${arch}