...
 
Commits (2)
    https://gitcode.net/xylz0928/luci-app-pushbot/-/commit/34823c23d2b92c63dd76c54ebf95f513d815ffc4 Fix long device name issue on Android 2023-04-25T12:17:40+08:00 然后七年 34766756+xylz0928@users.noreply.github.com change "*" to "..." https://gitcode.net/xylz0928/luci-app-pushbot/-/commit/7f07b39d7a6a924b8e3d14d8071daa0fad7c650b Merge pull request #91 from xylz0928/patch-2 2023-04-25T12:19:07+08:00 然后七年 69092025+zzsj0928@users.noreply.github.com Fix long device name issue on Android
...@@ -392,7 +392,7 @@ function cut_str { ...@@ -392,7 +392,7 @@ function cut_str {
temp_length=`expr $temp_length + 1` temp_length=`expr $temp_length + 1`
done done
temp_length=`expr $temp_length - 1` temp_length=`expr $temp_length - 1`
echo $(echo "$1"|cut -c -$temp_length)"*" echo $(echo "$1"|cut -c -$temp_length)"..."
} }
# 随机数 # 随机数
......