更新页面,目前是强制更新
This commit is contained in:
1 parent
6645310601
commit
2c5501a096
25 files changed
+1922
-71
No files matched your search
@@ -228,7 +228,7 @@ namespace Assets.Scripts
|
||||
}
|
||||
}
|
||||
UIManager.Instance.StartCoroutine(DownloadImage(img, url,(texture)=> {
|
||||
if (cache)
|
||||
if (cache && !propTextureCache.ContainsKey(url))
|
||||
{
|
||||
propTextureCache.Add(url, texture);
|
||||
}
|
||||
@@ -419,5 +419,24 @@ namespace Assets.Scripts
|
||||
}
|
||||
}
|
||||
/*文本框/下拉框错误*/
|
||||
|
||||
|
||||
public static void ExecFile(string path)
|
||||
{
|
||||
System.Diagnostics.Process proc = null;
|
||||
try
|
||||
{
|
||||
proc = new System.Diagnostics.Process();
|
||||
proc.StartInfo.FileName = path;
|
||||
proc.StartInfo.CreateNoWindow = false;
|
||||
proc.StartInfo.Verb = "runas";
|
||||
proc.Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine("执行批处理的时候出现了异常!");
|
||||
}
|
||||
}
|
||||
/*下载文件*/
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user