com.typhoon.unitysdk 1.0.51 → 1.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,16 @@
1
1
  # 更新日志
2
- ## [1.0.51] - 2023-12-10
2
+ ## [1.0.52] - 2023-12-10
3
3
 
4
4
  ### 修复
5
+ * 安装更新报错问题
6
+
7
+
8
+ ## [1.0.51] - 2023-12-10
9
+
10
+ ### 修复
5
11
  * 修复检查自动更新的bug
6
12
 
7
- ### 优化
13
+ ### 优化
8
14
  * 自动更新是查看日志窗口添加安装按钮
9
15
 
10
16
 
@@ -850,7 +850,7 @@ namespace TyphoonUnitySDK
850
850
  {
851
851
  //如果大于本地版本,提示有更新
852
852
  var click = EditorUtility.DisplayDialogComplex("提示",
853
- $"发现新版本(可从选项中关闭此检查)\n版本:{CheckUpdateCacheData.Default.Latest.Version}\n日期:{CheckUpdateCacheData.Default.Latest.WriteTime.ToShortTimeString()}是否更新?",
853
+ $"发现新版本(可从选项中关闭此检查)\n版本:{CheckUpdateCacheData.Default.Latest.Version}\n日期:{CheckUpdateCacheData.Default.Latest.GetWriteTimeDateString()}\n是否更新?",
854
854
  "是", "否", "查看日志");
855
855
  switch (click)
856
856
  {
@@ -911,7 +911,7 @@ namespace TyphoonUnitySDK
911
911
  if (major)
912
912
  {
913
913
  var click = EditorUtility.DisplayDialogComplex("提示",
914
- $"发现重大版本修复(可从选项中关闭此检查)\n版本:{CheckUpdateCacheData.Default.Latest.Version}\n日期:{CheckUpdateCacheData.Default.Latest.WriteTime.ToShortTimeString()}是否更新?",
914
+ $"发现重大版本修复(可从选项中关闭此检查)\n版本:{CheckUpdateCacheData.Default.Latest.Version}\n日期:{CheckUpdateCacheData.Default.Latest.GetWriteTimeDateString()}\n是否更新?",
915
915
  "是", "否", "查看日志");
916
916
  switch (click)
917
917
  {
@@ -1159,7 +1159,7 @@ namespace TyphoonUnitySDK
1159
1159
  depMap["com.typhoon.unitysdk"] = $"{versionInfo.Version}";
1160
1160
  map["dependencies"] = depMap.ToXJson();
1161
1161
  var final = map.ToXJson();
1162
- File.WriteAllText(final, package);
1162
+ File.WriteAllText(package, final);
1163
1163
  Debug.LogError($"更改成功,刷新工程...");
1164
1164
  AssetDatabase.Refresh();
1165
1165
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.51","description":"","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"version_log":"## [1.0.51] - 2023-12-10\r\n\r\n### 修复\n* 修复检查自动更新的bug\r\n\r\n### 优化\n* 自动更新是查看日志窗口添加安装按钮\r\n\r\n","major_flag":true,"write_time_stamp":1702190445000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
1
+ {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.52","description":"","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"version_log":"## [1.0.52] - 2023-12-10\r\n\r\n### 修复\n* 安装更新报错问题\r\n\r\n","major_flag":true,"write_time_stamp":1702190819000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}