Skip to content

Commit

Permalink
Update to 1.12.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
layahcn committed Dec 21, 2021
1 parent 62540bc commit 29ae447
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 19 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Waven汉化启动器

![Interface](https://pan.layah.workers.dev/1:/WLpic.png)
![汉化启动器版本](https://img.shields.io/badge/%E6%B1%89%E5%8C%96%E5%90%AF%E5%8A%A8%E5%99%A8%E7%89%88%E6%9C%AC-1.10.27.2-brightgreen)
![汉化补丁包版本](https://img.shields.io/badge/%E6%B1%89%E5%8C%96%E8%A1%A5%E4%B8%81%E5%8C%85%E7%89%88%E6%9C%AC-2021.11.4--V1-red)
![适用游戏版本](https://img.shields.io/badge/%E9%80%82%E7%94%A8%E6%B8%B8%E6%88%8F%E7%89%88%E6%9C%AC-0.8.6.30708-blue)
![适用战网版本](https://img.shields.io/badge/%E9%80%82%E7%94%A8%E6%88%98%E7%BD%91%E7%89%88%E6%9C%AC-3.5.4-orange)
![汉化启动器版本](https://img.shields.io/badge/%E6%B1%89%E5%8C%96%E5%90%AF%E5%8A%A8%E5%99%A8%E7%89%88%E6%9C%AC-1.12.22.1-brightgreen)
![汉化补丁包版本](https://img.shields.io/badge/%E6%B1%89%E5%8C%96%E8%A1%A5%E4%B8%81%E5%8C%85%E7%89%88%E6%9C%AC-2021.12.22--V1-red)
![适用游戏版本](https://img.shields.io/badge/%E9%80%82%E7%94%A8%E6%B8%B8%E6%88%8F%E7%89%88%E6%9C%AC-0.9.1.31347-blue)
![适用战网版本](https://img.shields.io/badge/%E9%80%82%E7%94%A8%E6%88%98%E7%BD%91%E7%89%88%E6%9C%AC-3.5.10-orange)

</div>

Expand Down Expand Up @@ -61,6 +61,10 @@

## 汉化启动器更新日志:

### 1.12.22.1
- 适配游戏Alpha 0.9.1版以及新版战网
- 修复战网版本号及汉化版本号显示不完整问题

### 1.10.27.2
- 修复卡在`汉化游戏`按钮的问题

Expand Down Expand Up @@ -134,6 +138,9 @@

## 汉化补丁包更新日志:

### 2021.12.22-V1
- 更新文本适配到Alpha 0.9.1版本

### 2021.11.4-V1
- 更新文本适配到Alpha 0.8.6版本

Expand Down
6 changes: 3 additions & 3 deletions WavenLauncher/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
<value />
</setting>
<setting name="VersionAL" serializeAs="String">
<value>3.5.3</value>
<value>3.5.10</value>
</setting>
<setting name="AutoUD" serializeAs="String">
<value>True</value>
</setting>
<setting name="VersionGM" serializeAs="String">
<value>0.8.4.30606</value>
<value>0.9.1.31347</value>
</setting>
<setting name="Valid" serializeAs="String">
<value>False</value>
Expand All @@ -41,7 +41,7 @@
<value>False</value>
</setting>
<setting name="VersionWL" serializeAs="String">
<value>202110272</value>
<value>202112221</value>
</setting>
</WavenLauncher.My.MySettings>
</userSettings>
Expand Down
2 changes: 1 addition & 1 deletion WavenLauncher/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Imports System.Runtime.InteropServices
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.3.0.0")>
<Assembly: AssemblyFileVersion("1.10.27.1")>
<Assembly: AssemblyFileVersion("1.12.22.1")>
6 changes: 3 additions & 3 deletions WavenLauncher/My Project/Settings.Designer.vb

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

6 changes: 3 additions & 3 deletions WavenLauncher/My Project/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
<Value Profile="(Default)" />
</Setting>
<Setting Name="VersionAL" Type="System.String" Scope="User">
<Value Profile="(Default)">3.5.3</Value>
<Value Profile="(Default)">3.5.10</Value>
</Setting>
<Setting Name="AutoUD" Type="System.String" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="VersionGM" Type="System.String" Scope="User">
<Value Profile="(Default)">0.8.4.30606</Value>
<Value Profile="(Default)">0.9.1.31347</Value>
</Setting>
<Setting Name="Valid" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
Expand All @@ -33,7 +33,7 @@
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="VersionWL" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">202110272</Value>
<Value Profile="(Default)">202112221</Value>
</Setting>
</Settings>
</SettingsFile>
4 changes: 2 additions & 2 deletions WavenLauncher/WavenLauncher.Designer.vb

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

9 changes: 6 additions & 3 deletions WavenLauncher/WavenLauncher.vb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Imports System.Security.Cryptography '校验文件用
Imports System.Threading

Public Class WavenLauncher
Const VersionWL As UInteger = 202110272 '汉化启动器版本号,跟随发布版本
Const VersionWL As UInteger = 202112222 '汉化启动器版本号,跟随发布版本
Dim NewVersionWL As String '检测最新汉化启动器版本号
Dim NewVersionCN As String '检测最新游戏汉化文本版本号
Dim NewVersionAL As String '检测最新战网版本号
Expand Down Expand Up @@ -486,6 +486,9 @@ Public Class WavenLauncher
+ nameCN.Length _
+ 1)
tempVersionResource = tempVersionResource.Substring(0, length)
If tempVersionResource.EndsWith(" ") Then
tempVersionResource = tempVersionResource.Substring(0, length - 1)
End If
Return tempVersionResource
Else
Return ""
Expand Down Expand Up @@ -525,7 +528,7 @@ Public Class WavenLauncher
Try
NewVersionWL = GetVersion("软件版本号") '获取到最新版本号后赋值
NewVersionCN = GetVersion("游戏汉化版本")
NewVersionAL = GetVersion("适用战网版本", 5) '获取到最新版本号后赋值
NewVersionAL = GetVersion("适用战网版本", 6) '获取到最新版本号后赋值
NewVersionGM = GetVersion("适用游戏版本", 11)
ZipVersionGM = GetVersion("游戏硬盘版", 11)
accessToken = VersionResource.Remove(0, VersionResource.IndexOf("授权下载密匙") + 7)
Expand Down Expand Up @@ -803,7 +806,7 @@ Public Class WavenLauncher
If LocalVersion = NewVersionGM Then '若未检测到最新游戏版本,那么比较本地游戏版本与汉化适用版本
ExZip(DefaultFileAddress, "Waven-zh-cn.zip", GameDataPath)
'调用解压zip方法
LastMsg = $"安装汉化成功,版本为{tempVersionCN}"
LastMsg = $"安装汉化成功,版本为{tempVersionCN}"
Else
LayoutLabel($"汉化失败:本地游戏版本为{LocalVersion},而汉化适用版本为{NewVersionGM}。")
Exit Sub
Expand Down

0 comments on commit 29ae447

Please sign in to comment.