diff --git a/PocketFanController/AboutWindow.xaml b/PocketFanController/AboutWindow.xaml index 72be426..1bd95b0 100644 --- a/PocketFanController/AboutWindow.xaml +++ b/PocketFanController/AboutWindow.xaml @@ -7,7 +7,7 @@ Title="About | Pocket Fan Controller" Height="300" Width="300" ScrollViewer.VerticalScrollBarVisibility="Disabled" ShowInTaskbar="False" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"> Pocket Fan Controller - Version 0.4.0 + Version 0.4.1 © 2017 Takafumi Miyake Third-Party Software Usage and Licenses diff --git a/PocketFanController/Model.cs b/PocketFanController/Model.cs index 40b2581..d7216f3 100644 --- a/PocketFanController/Model.cs +++ b/PocketFanController/Model.cs @@ -149,6 +149,8 @@ public string GetCpuTemp() temps.AddRange(from sensor in item.Sensors where sensor.SensorType == SensorType.Temperature where sensor.Value != null select sensor.Value.Value.ToString(CultureInfo.CurrentCulture)); } + computer.Close(); + //最初に取得できるのが、現在の温度。 return temps[0]; } diff --git a/PocketFanController/Properties/AssemblyInfo.cs b/PocketFanController/Properties/AssemblyInfo.cs index ae29543..0049ef5 100644 --- a/PocketFanController/Properties/AssemblyInfo.cs +++ b/PocketFanController/Properties/AssemblyInfo.cs @@ -51,7 +51,7 @@ // すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.4.0.0")] -[assembly: AssemblyFileVersion("0.4.0.0")] +[assembly: AssemblyVersion("0.4.1.0")] +[assembly: AssemblyFileVersion("0.4.1.0")] [assembly: NeutralResourcesLanguage("en")]