浏览代码

Square brackets around description

Bob Mottram 6 年前
父节点
当前提交
6340860ba9
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/freedombone-utils-android

+ 3
- 1
src/freedombone-utils-android 查看文件

@@ -97,7 +97,9 @@ function android_update_apps {
97 97
                 { echo '    {';
98 98
                   echo "      \"name\": \"${app_name}\",";
99 99
                   echo "      \"short_description\": \"$SHORT_DESCRIPTION\",";
100
-                  echo "      \"description\": \"$DESCRIPTION\",";
100
+                  echo "      \"description\": [";
101
+                  echo "        \"$DESCRIPTION\"";
102
+                  echo '      ],';
101 103
                   echo "      \"icon_url\": \"/icons/${app_name}.png\",";
102 104
                   echo "      \"clients\": ["; } >> "$plinth_api"
103 105