Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-miyake committed Sep 2, 2017
1 parent d874665 commit 982c7e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PocketFanController/AboutWindow.xaml
Expand Up @@ -7,7 +7,7 @@
Title="About | Pocket Fan Controller" Height="300" Width="300" ScrollViewer.VerticalScrollBarVisibility="Disabled" ShowInTaskbar="False" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
<StackPanel>
<TextBlock Padding="8,0,0,0" Margin="0,5,0,0">Pocket Fan Controller</TextBlock>
<TextBlock Padding="15,0,0,0">Version 0.4.0</TextBlock>
<TextBlock Padding="15,0,0,0">Version 0.4.1</TextBlock>
<TextBlock Padding="15,0,0,0">© 2017 Takafumi Miyake</TextBlock>

<TextBlock Padding="8,0,0,0" Margin="0,10,0,0">Third-Party Software Usage and Licenses</TextBlock>
Expand Down
2 changes: 2 additions & 0 deletions PocketFanController/Model.cs
Expand Up @@ -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];
}
Expand Down
4 changes: 2 additions & 2 deletions PocketFanController/Properties/AssemblyInfo.cs
Expand Up @@ -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")]

0 comments on commit 982c7e9

Please sign in to comment.