更新版本
This commit is contained in:
1 parent
bdf87cf0dd
commit
7df74cd30a
2 files changed
+4
-4
No files matched your search
@@ -31,7 +31,7 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 1312;
|
||||
public static int VersionCount = 1317;
|
||||
public static string MainPath = "29wx";
|
||||
//public static string MainPath = "29wx";
|
||||
//public static string MainPath = "29pdd";
|
||||
|
||||
+3
-3
@@ -209,9 +209,9 @@ namespace TemuKJD
|
||||
var pName = Process.GetCurrentProcess().ProcessName;
|
||||
ProcessCount = Process.GetProcesses().Count(p => p.ProcessName == pName);
|
||||
//138版cef自己不会分缓存,会因占用导致报错,手动分缓存
|
||||
//settings.CachePath = Path.Combine(Environment.CurrentDirectory, "Cache\\" + ProcessCount);
|
||||
settings.RootCachePath = Path.Combine(Environment.CurrentDirectory, "Cache");
|
||||
settings.CachePath = Path.Combine(settings.RootCachePath, ProcessCount.ParseToString());
|
||||
settings.CachePath = Path.Combine(Environment.CurrentDirectory, "Cache\\" + ProcessCount);
|
||||
//settings.RootCachePath = Path.Combine(Environment.CurrentDirectory, "Cache");
|
||||
//settings.CachePath = Path.Combine(settings.RootCachePath, ProcessCount.ParseToString());
|
||||
//settings.CachePath = null; //禁止缓存
|
||||
//settings.CefCommandLineArgs.Add("enable-javascript", "1");
|
||||
//settings.CefCommandLineArgs.Add("disable-features", "NetworkService,NetworkServiceInProcess");
|
||||
|
||||
Reference in new issue
Block a user