• R/O
  • SSH
  • HTTPS

ktx: Commit


Commit MetaInfo

Revision39 (tree)
Zeit2019-11-13 19:06:33
Autorbananajinn

Log Message

e キーのエディタで開くが動かなくなっていたのを修正
アップデートチェックが動かなくなっていたのを修正
0.11.1

Ändern Zusammenfassung

Diff

--- trunk/ktx/Properties/AssemblyInfo.cs (revision 38)
+++ trunk/ktx/Properties/AssemblyInfo.cs (revision 39)
@@ -28,4 +28,4 @@
2828 //
2929 // You can specify all the values or you can use the default the Revision and
3030 // Build Numbers by using the '*' as shown below:
31-[assembly: AssemblyVersion("0.11.0")]
31+[assembly: AssemblyVersion("0.11.1")]
--- trunk/ktx/Utils/UpdateChecker.cs (revision 38)
+++ trunk/ktx/Utils/UpdateChecker.cs (revision 39)
@@ -3,6 +3,7 @@
33 */
44 using System;
55 using System.Diagnostics;
6+using System.Net;
67 using System.Net.Http;
78 using System.Reflection;
89 using System.Text.RegularExpressions;
@@ -38,7 +39,8 @@
3839 {
3940 return Task<string>.Factory.StartNew(
4041 () => {
41- var client = new HttpClient();
42+ ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
43+ var client = new HttpClient();
4244 var response = client.GetAsync(URL).Result;
4345 var body = response.Content.ReadAsStringAsync().Result;
4446 var m = Regex.Match(body, "<a href=\"/projects/ktx/downloads/[0-9]+/KTX-([0-9\\.]+)");
--- trunk/ktx/Views/MainForm.cs (revision 38)
+++ trunk/ktx/Views/MainForm.cs (revision 39)
@@ -341,7 +341,7 @@
341341 }
342342 void Edit()
343343 {
344- Process.Start(Registries.GetSettings().Editor, string.Format("\"%s\"", Path));
344+ Process.Start(Registries.GetSettings().Editor, string.Format("\"{0}\"", Path));
345345 }
346346 void ShowSetting()
347347 {
Show on old repository browser