Skip to content

Commit d3e2046

Browse files
committed
修改首次启动可能无法加载语言的问题
1 parent 6bf1461 commit d3e2046

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/ComputerLock.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Authors>九零</Authors>
55
<Product>透明锁屏</Product>
6-
<Version>1.2.18.22</Version>
6+
<Version>1.3.0.23</Version>
77
<Nullable>enable</Nullable>
88

99
<OutputType>WinExe</OutputType>
@@ -71,7 +71,7 @@
7171
</ItemGroup>
7272

7373
<ItemGroup>
74-
<None Update="首次运行请看这里!!!.txt">
74+
<None Update="首次运行请看这里_Readme.txt">
7575
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
7676
</None>
7777
</ItemGroup>

src/FmMain.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,6 @@ private void ComboBoxLang_SelectedIndexChanged(object sender, EventArgs e)
372372
return;
373373
}
374374

375-
if (AppBase.Config.Lang == (LangEnum)selectedIndex)
376-
{
377-
return;
378-
}
379375
AppBase.Config.Lang = (LangEnum)selectedIndex;
380376
SaveAppConfig();
381377
ChangeLanguage(AppBase.Config.Lang.ToString());

0 commit comments

Comments
 (0)