|
@@ -167,10 +167,10 @@ namespace PDF_Master
|
|
|
{
|
|
|
#if !DEBUG
|
|
|
//接入Appcenter后台数据检测 PDF Reader Pro Test
|
|
|
- string appkey = "395433ac-97b6-4e28-803e-3d377bdef875";
|
|
|
- AppCenter.Start(appkey, typeof(Analytics), typeof(Crashes));
|
|
|
- var countryCode = RegionInfo.CurrentRegion.TwoLetterISORegionName;//上传国家信息
|
|
|
- AppCenter.SetCountryCode(countryCode);
|
|
|
+ string appkey = "260c4a7f-6986-4d5c-b201-cd50a46cc243";
|
|
|
+ AppCenter.Start(appkey, typeof(Analytics), typeof(Crashes));
|
|
|
+ var countryCode = RegionInfo.CurrentRegion.TwoLetterISORegionName;//上传国家信息
|
|
|
+ AppCenter.SetCountryCode(countryCode);
|
|
|
#endif
|
|
|
//增加全局异常捕获
|
|
|
//UI线程异常
|
|
@@ -349,7 +349,7 @@ namespace PDF_Master
|
|
|
}
|
|
|
|
|
|
//如果如果缓存被清空,但是缓存文档还在时,更新变量
|
|
|
- if(string.IsNullOrEmpty(GuidPDFPath))
|
|
|
+ if (string.IsNullOrEmpty(GuidPDFPath))
|
|
|
{
|
|
|
GuidPDFPath = Path.Combine(CachePath.GuidPDFPath, "Quick Start Guide.pdf");
|
|
|
}
|
|
@@ -784,7 +784,7 @@ namespace PDF_Master
|
|
|
lang = "en_Us";
|
|
|
break;
|
|
|
}
|
|
|
-#if !DEBUG
|
|
|
+#if DEBUG
|
|
|
var appcastUrl = string.Format("http://test-pdf-pro.kdan.cn:3021/downloads/pdfmaster_win_{0}.xml", lang);
|
|
|
#else
|
|
|
//var appcastUrl = string.Format("http://test-pdf-pro.kdan.cn:3021/downloads/pdfmaster_win_{0}.xml", lang);
|