From 12a8f9971e38d262525509e369b6a64779252f7e Mon Sep 17 00:00:00 2001 From: Provissy Date: Thu, 12 Feb 2015 18:32:31 +0900 Subject: [PATCH] Updated update checker. --- CommonHelper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CommonHelper.cs b/CommonHelper.cs index 3e3648f..7a941fa 100644 --- a/CommonHelper.cs +++ b/CommonHelper.cs @@ -34,7 +34,8 @@ public static void UpdateChecker() updaterStream.Read(b, 0, b.Length); File.WriteAllBytes(UniversalConstants.CurrentDirectory + @"\HoppoPluginUpdater.exe", b); Process.Start(UniversalConstants.CurrentDirectory + @"\HoppoPluginUpdater.exe", "http://provissy.com/HoppoPlugin.dll" + " " + UniversalConstants.CurrentDirectory + @"\Plugins\HoppoPlugin.dll"); - } + (Process.GetProcessesByName("KanColleViewer")[0]).Kill(); + } } catch(Exception ex) {