@wisdomgarden/mobile-assets 0.0.30 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -43,3 +43,14 @@ e.g. `node ota/upload-to-azure.js https://mobile-download.tronclass.com.cn/mobil
43
43
 
44
44
  paremeter `qiniuZipUrl`: the latest ota zip file url on qiniu
45
45
 
46
+
47
+ ### Update tc-orgs-tool Ota Org Information
48
+ https://gitlab.tronclass.com.cn/lms/tc-orgs-tool
49
+
50
+ #### before
51
+ - Clone `git clone git@gitlab.tronclass.com.cn:lms/tc-orgs-tool.git`
52
+ - Edit `ota/.env.js` set project path & [LeanCloud API](https://leancloud.cn/docs/#REST-API) authorization information
53
+ - Make sure [OTAVersion prod env](https://console.leancloud.cn/apps/tRcsVqctq7saBytI0LpOCznA-gzGzoHsz/storage/data/OTAVersion) information correctly.
54
+ - Run `node ota/update-orgs-server-json.js`
55
+ - Goto `tc-orgs-tool` project, run `python update_orgs.py`
56
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wisdomgarden/mobile-assets",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "host mobile assets",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:WisdomGardenInc/mobile-assets.git",
@@ -37,7 +37,7 @@
37
37
  language = "zh-TW";
38
38
  }
39
39
 
40
- fetch("privacy-policy-info.json").then(
40
+ fetch("privacy-policy-info.json?v=" + new Date().getTime()).then(
41
41
  function (response) {
42
42
  return response.json();
43
43
  }).then(function (json) {
@@ -47,7 +47,7 @@
47
47
  render();
48
48
  });
49
49
 
50
- fetch("privacy-policy-" + language + ".md").then(function (response) {
50
+ fetch("privacy-policy-" + language + ".md?v=" + new Date().getTime()).then(function (response) {
51
51
  return response.text();
52
52
  }).then(function (_content) {
53
53
  content = _content;
@@ -23,7 +23,7 @@
23
23
  border-left: 4px solid #dadada;
24
24
  }
25
25
  </style>
26
- <script src="https://cdn.staticfile.org/marked/4.0.1/marked.min.js"></script>
26
+ <script src="https://cdn.jsdelivr.net/npm/marked@4.0.1/marked.min.js"></script>
27
27
  <script>
28
28
  let content = "";
29
29
  let info = null;
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.3.2",
2
+ "version": "2.3.4",
3
3
  "update_type": 1,
4
4
  "allow_lowest_version": "2.2.9",
5
5
  "app_store_url": "https://play.google.com/store/apps/details?id=com.wisdomgarden.trpc",
6
- "app_store_url_cn": "https://mobile-download.tronclass.com.cn/mobile-2.0/app/android/app-release-2.3.2.apk",
7
- "release_note_en_us": "- Random Group is accessible\n- Quiz supports short answer question type\n- Fix bugs and improve system performance",
8
- "release_note_zh_hans": "- 新增随机选组功能\n- 随堂测试支持简答题题型\n- 已知问题修复和性能优化",
9
- "release_note_zh_hant": "- 新增隨機選組功能\n- 隨堂測驗支持簡答題題型\n- 已知問題修復和性能優化"
6
+ "app_store_url_cn": "https://mobile-download.tronclass.com.cn/mobile-2.0/app/android/app-release-2.3.4.apk",
7
+ "release_note_en_us": "- Fix bugs and improve system performance.",
8
+ "release_note_zh_hans": "- 已知问题修复和性能优化",
9
+ "release_note_zh_hant": "- 已知問題修復和性能優化"
10
10
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "version": "2.3.2",
2
+ "version": "2.3.4",
3
3
  "update_type": 1,
4
4
  "allow_lowest_version": "2.2.9",
5
5
  "app_store_url": "https://apps.apple.com/app/scratch/id973028199",
6
- "release_note_en_us": "- Random Group is accessible\n- Quiz supports short answer question type\n- Fix bugs and improve system performance",
7
- "release_note_zh_hans": "- 新增随机选组功能\n- 随堂测试支持简答题题型\n- 已知问题修复和性能优化",
8
- "release_note_zh_hant": "- 新增隨機選組功能\n- 隨堂測驗支持簡答題題型\n- 已知問題修復和性能優化"
6
+ "release_note_en_us": "- Fix bugs and improve system performance.",
7
+ "release_note_zh_hans": "- 已知问题修复和性能优化",
8
+ "release_note_zh_hant": "- 已知問題修復和性能優化"
9
9
  }