From deb2deca269048c77f4b3dfcd1bb631c4d4f7b98 Mon Sep 17 00:00:00 2001 From: CCXXXI Date: Sat, 30 Oct 2021 12:46:30 +0800 Subject: [PATCH] chore: update app desc --- pubspec.yaml | 2 +- test/utils/string_test.dart | 2 +- web/index.html | 2 +- web/manifest.json | 66 ++++++++++++++++++------------------- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 48da92ca..68e6a23a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: ecnu_timetable -description: 更美观更智能的ECNU课程表。 +description: 更美观更智能的 ECNU 课程表 # Prevent the package from being accidentally published to pub.dev. publish_to: "none" diff --git a/test/utils/string_test.dart b/test/utils/string_test.dart index 5e4bf6e4..a20252c1 100644 --- a/test/utils/string_test.dart +++ b/test/utils/string_test.dart @@ -9,7 +9,7 @@ final _semVer = RegExp('$_num\\.$_num\\.$_num'); void main() { group('盘古', () { test('空字符串仍为空', () => expect(''.s, '')); - test('中英之间加空格', () => expect('更美观更智能的ECNU课程表。'.s, '更美观更智能的 ECNU 课程表。')); + test('中英之间加空格', () => expect('更美观更智能的ECNU课程表'.s, '更美观更智能的 ECNU 课程表')); test('对已加空格的字符串重复处理无影响', () => expect('更美观更智能的 ECNU 课程表。'.s.s.s, '更美观更智能的 ECNU 课程表。')); }); diff --git a/web/index.html b/web/index.html index c8d7c150..3c4c45ab 100644 --- a/web/index.html +++ b/web/index.html @@ -18,7 +18,7 @@ - + diff --git a/web/manifest.json b/web/manifest.json index efc41513..73ac0a31 100644 --- a/web/manifest.json +++ b/web/manifest.json @@ -1,35 +1,35 @@ { - "name": "ecnu_timetable", - "short_name": "ecnu_timetable", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "更美观更智能的ECNU课程表。", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] + "name": "ecnu_timetable", + "short_name": "ecnu_timetable", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "更美观更智能的 ECNU 课程表", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ] }