From 0a2603e97bb7c42b5c44e67708fb743748fa931f Mon Sep 17 00:00:00 2001 From: YuleBest Date: Wed, 4 Feb 2026 14:19:09 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 功能/TTC文件拆分.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/功能/TTC文件拆分.sh b/功能/TTC文件拆分.sh index 32de688..b7a4d65 100644 --- a/功能/TTC文件拆分.sh +++ b/功能/TTC文件拆分.sh @@ -33,9 +33,7 @@ if ! file "$ttc_file" | grep -q "TrueType font collection"; then fi echo "~ 正在使用 fonttool 拆分 TTC..." -"$FT_BIN" split "$ttc_file" "$WORK_DIR/ttc_separated" - -if [ $? -eq 0 ]; then +if "$FT_BIN" split "$ttc_file" "$WORK_DIR/ttc_separated"; then echo "~ 拆分成功" exit 0 else