style: 代码规范

This commit is contained in:
YuleBest committed 2026-02-04 14:19:09 +08:00
1 parent 8e010a066a
commit 0a2603e97b
1 file changed
+1 -3
+1 -3
View File
@@ -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