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 +8 -2
- package/Editor/UniEditor.cs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Editor/UniEditor.cs
CHANGED
|
@@ -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.
|
|
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.
|
|
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(
|
|
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.
|
|
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"}}
|