Skip to content

Commit

Permalink
v1.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
lich426 committed Mar 5, 2023
1 parent 112001b commit 48717ca
Show file tree
Hide file tree
Showing 41 changed files with 900 additions and 554 deletions.
21 changes: 20 additions & 1 deletion FanCtrl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<PublisherName>Lich</PublisherName>
<SuiteName>FanCtrl</SuiteName>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.5.7.0</ApplicationVersion>
<ApplicationVersion>1.5.8.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down Expand Up @@ -90,6 +90,10 @@
</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="DarkUI, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>dll\DarkUI.dll</HintPath>
</Reference>
<Reference Include="HidSharp, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>dll\HidSharp.dll</HintPath>
Expand Down Expand Up @@ -306,6 +310,21 @@
<DesignTime>True</DesignTime>
<DependentUpon>StringLib.ko.resx</DependentUpon>
</Compile>
<Compile Include="src\UI\Theme\ThemeListView.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="src\UI\Theme\ThemePanel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="src\UI\Theme\ThemeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="src\UI\Theme\ThemeHardwareLabel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="src\UI\Theme\ThemeLibLabel.cs">
<SubType>Component</SubType>
</Compile>
<EmbeddedResource Include="src\UI\ControlForm.resx">
<DependentUpon>ControlForm.cs</DependentUpon>
</EmbeddedResource>
Expand Down
6 changes: 3 additions & 3 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다.
[assembly: AssemblyVersion("1.5.7")]
[assembly: AssemblyFileVersion("1.5.7")]
[assembly: AssemblyInformationalVersion("1.5.7")]
[assembly: AssemblyVersion("1.5.8")]
[assembly: AssemblyFileVersion("1.5.8")]
[assembly: AssemblyInformationalVersion("1.5.8")]
36 changes: 36 additions & 0 deletions Resources/StringLib.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions Resources/StringLib.fr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,18 @@
<data name="Temperature" xml:space="preserve">
<value>Température</value>
</data>
<data name="Theme" xml:space="preserve">
<value>thème :</value>
</data>
<data name="Theme_Dark" xml:space="preserve">
<value>Dark</value>
</data>
<data name="Theme_Light" xml:space="preserve">
<value>Light</value>
</data>
<data name="Theme_System" xml:space="preserve">
<value>système</value>
</data>
<data name="Title" xml:space="preserve">
<value>FanCtrl</value>
</data>
Expand Down
12 changes: 12 additions & 0 deletions Resources/StringLib.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,18 @@
<data name="Temperature" xml:space="preserve">
<value>温度</value>
</data>
<data name="Theme" xml:space="preserve">
<value>テーマ:</value>
</data>
<data name="Theme_Dark" xml:space="preserve">
<value>暗い</value>
</data>
<data name="Theme_Light" xml:space="preserve">
<value>明るい</value>
</data>
<data name="Theme_System" xml:space="preserve">
<value>システム</value>
</data>
<data name="Title" xml:space="preserve">
<value>FanCtrl</value>
</data>
Expand Down
12 changes: 12 additions & 0 deletions Resources/StringLib.ko.resx
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,18 @@
<data name="Temperature" xml:space="preserve">
<value>온도</value>
</data>
<data name="Theme" xml:space="preserve">
<value>테마 :</value>
</data>
<data name="Theme_Dark" xml:space="preserve">
<value>다크</value>
</data>
<data name="Theme_Light" xml:space="preserve">
<value>라이트</value>
</data>
<data name="Theme_System" xml:space="preserve">
<value>시스템</value>
</data>
<data name="Title" xml:space="preserve">
<value>FanCtrl</value>
</data>
Expand Down
12 changes: 12 additions & 0 deletions Resources/StringLib.resx
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,18 @@
<data name="Temperature" xml:space="preserve">
<value>Temperature</value>
</data>
<data name="Theme" xml:space="preserve">
<value>Theme :</value>
</data>
<data name="Theme_Dark" xml:space="preserve">
<value>Dark</value>
</data>
<data name="Theme_Light" xml:space="preserve">
<value>Light</value>
</data>
<data name="Theme_System" xml:space="preserve">
<value>System</value>
</data>
<data name="Title" xml:space="preserve">
<value>FanCtrl</value>
</data>
Expand Down
Binary file added dll/DarkUI.dll
Binary file not shown.
Binary file modified dll/LibreHardwareMonitorLib.dll
Binary file not shown.
Binary file modified plugin/liquidctl.exe
Binary file not shown.
13 changes: 12 additions & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using DarkUI.Config;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
Expand Down Expand Up @@ -27,6 +28,16 @@ static void Main(string[] args)
if (Program.createMutex() == false)
return;

var type = OptionManager.getInstance().getNowTheme();
if (type == THEME_TYPE.DARK)
{
ThemeProvider.Theme = new DarkTheme();
}
else
{
ThemeProvider.Theme = new LightTheme();
}

Application.Run(new MainForm());

Program.releaseMutex();
Expand Down
Loading

0 comments on commit 48717ca

Please sign in to comment.