Debug禁止升级
This commit is contained in:
1 parent
0d76d75294
commit
00759b2114
1 file changed
+4
-2
@@ -92,9 +92,11 @@ offCountPara,false;offProductPara,100;IrregularitiesPara,true;noNeerPara,true;no
|
|||||||
if (Directory.Exists(System.Environment.CurrentDirectory + "\\data1"))
|
if (Directory.Exists(System.Environment.CurrentDirectory + "\\data1"))
|
||||||
Directory.Delete(System.Environment.CurrentDirectory + "\\data1", true);
|
Directory.Delete(System.Environment.CurrentDirectory + "\\data1", true);
|
||||||
});
|
});
|
||||||
//Task.Run(() => { Update(); InitProgress(1); });
|
//Task.Run(() => { Update(); InitProgress(1); });
|
||||||
|
#if !DEBUG
|
||||||
Task.Run(() => { CheckUpdate(); InitProgress(2); });
|
Task.Run(() => { CheckUpdate(); InitProgress(2); });
|
||||||
Task.Run(() => { GetAuthConfig(); InitProgress(1); });
|
#endif
|
||||||
|
Task.Run(() => { GetAuthConfig(); InitProgress(1); });
|
||||||
Task.Run(() => { CheckFiles(); IsCheckFilesFinish = true; InitProgress(2); });
|
Task.Run(() => { CheckFiles(); IsCheckFilesFinish = true; InitProgress(2); });
|
||||||
//Task.Run(() => { CheckUpdataFile(); });
|
//Task.Run(() => { CheckUpdataFile(); });
|
||||||
//Task.Run(() => { new Segment().GetWord(); InitProgress(1); }); // 奇奇科技?
|
//Task.Run(() => { new Segment().GetWord(); InitProgress(1); }); // 奇奇科技?
|
||||||
|
|||||||
Reference in new issue
Block a user