mirror of
https://github.com/huiyadanli/RevokeMsgPatcher.git
synced 2025-05-23 22:06:06 +08:00
0.1
This commit is contained in:
parent
72d7e7ec70
commit
2386073602
|
@ -18,6 +18,13 @@ namespace RevokeMsgPatcher
|
|||
patcher.IntallPath = txtPath.Text;
|
||||
btnRestore.Enabled = File.Exists(patcher.BakPath);
|
||||
}
|
||||
// 标题加上版本号
|
||||
string currentVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
if (currentVersion.Length > 3)
|
||||
{
|
||||
currentVersion = " v" + currentVersion.Substring(0, 3);
|
||||
}
|
||||
this.Text += currentVersion;
|
||||
}
|
||||
|
||||
private void btnPatch_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
||||
// 方法是按如下所示使用“*”: :
|
||||
//[assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyVersion("0.1")]
|
||||
[assembly: AssemblyFileVersion("0.1")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user