[+] 通用微信多开工具的集成
This commit is contained in:
27
RevokeMsgPatcher/FormMain.Designer.cs
generated
27
RevokeMsgPatcher/FormMain.Designer.cs
generated
@@ -56,6 +56,7 @@
|
||||
this.关于ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.作者ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.主页ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.通用微信多开工具ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -232,17 +233,18 @@
|
||||
//
|
||||
this.高级ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.特征码防撤回强制ToolStripMenuItem,
|
||||
this.手动输入补丁信息ToolStripMenuItem});
|
||||
this.手动输入补丁信息ToolStripMenuItem,
|
||||
this.通用微信多开工具ToolStripMenuItem});
|
||||
this.高级ToolStripMenuItem.Name = "高级ToolStripMenuItem";
|
||||
this.高级ToolStripMenuItem.Size = new System.Drawing.Size(44, 21);
|
||||
this.高级ToolStripMenuItem.Text = "高级";
|
||||
this.高级ToolStripMenuItem.Visible = false;
|
||||
//
|
||||
// 特征码防撤回强制ToolStripMenuItem
|
||||
//
|
||||
this.特征码防撤回强制ToolStripMenuItem.Name = "特征码防撤回强制ToolStripMenuItem";
|
||||
this.特征码防撤回强制ToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
||||
this.特征码防撤回强制ToolStripMenuItem.Text = "特征码防撤回(强制)";
|
||||
this.特征码防撤回强制ToolStripMenuItem.Visible = false;
|
||||
this.特征码防撤回强制ToolStripMenuItem.Click += new System.EventHandler(this.特征码防撤回强制ToolStripMenuItem_Click);
|
||||
//
|
||||
// 手动输入补丁信息ToolStripMenuItem
|
||||
@@ -250,6 +252,7 @@
|
||||
this.手动输入补丁信息ToolStripMenuItem.Name = "手动输入补丁信息ToolStripMenuItem";
|
||||
this.手动输入补丁信息ToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
||||
this.手动输入补丁信息ToolStripMenuItem.Text = "手动输入补丁信息";
|
||||
this.手动输入补丁信息ToolStripMenuItem.Visible = false;
|
||||
this.手动输入补丁信息ToolStripMenuItem.Click += new System.EventHandler(this.手动输入补丁信息ToolStripMenuItem_Click);
|
||||
//
|
||||
// 帮助ToolStripMenuItem
|
||||
@@ -266,28 +269,28 @@
|
||||
// 支持版本ToolStripMenuItem
|
||||
//
|
||||
this.支持版本ToolStripMenuItem.Name = "支持版本ToolStripMenuItem";
|
||||
this.支持版本ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.支持版本ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.支持版本ToolStripMenuItem.Text = "支持版本";
|
||||
this.支持版本ToolStripMenuItem.Click += new System.EventHandler(this.支持版本ToolStripMenuItem_Click);
|
||||
//
|
||||
// 常见问题ToolStripMenuItem
|
||||
//
|
||||
this.常见问题ToolStripMenuItem.Name = "常见问题ToolStripMenuItem";
|
||||
this.常见问题ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.常见问题ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.常见问题ToolStripMenuItem.Text = "常见问题";
|
||||
this.常见问题ToolStripMenuItem.Click += new System.EventHandler(this.常见问题ToolStripMenuItem_Click);
|
||||
//
|
||||
// 防撤回原理ToolStripMenuItem
|
||||
//
|
||||
this.防撤回原理ToolStripMenuItem.Name = "防撤回原理ToolStripMenuItem";
|
||||
this.防撤回原理ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.防撤回原理ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.防撤回原理ToolStripMenuItem.Text = "防撤回原理";
|
||||
this.防撤回原理ToolStripMenuItem.Click += new System.EventHandler(this.防撤回原理ToolStripMenuItem_Click);
|
||||
//
|
||||
// 完整文档ToolStripMenuItem
|
||||
//
|
||||
this.完整文档ToolStripMenuItem.Name = "完整文档ToolStripMenuItem";
|
||||
this.完整文档ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.完整文档ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.完整文档ToolStripMenuItem.Text = "完整文档";
|
||||
this.完整文档ToolStripMenuItem.Click += new System.EventHandler(this.完整文档ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -303,17 +306,24 @@
|
||||
// 作者ToolStripMenuItem
|
||||
//
|
||||
this.作者ToolStripMenuItem.Name = "作者ToolStripMenuItem";
|
||||
this.作者ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.作者ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
|
||||
this.作者ToolStripMenuItem.Text = "关于";
|
||||
this.作者ToolStripMenuItem.Click += new System.EventHandler(this.关于ToolStripMenuItem_Click);
|
||||
//
|
||||
// 主页ToolStripMenuItem
|
||||
//
|
||||
this.主页ToolStripMenuItem.Name = "主页ToolStripMenuItem";
|
||||
this.主页ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.主页ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
|
||||
this.主页ToolStripMenuItem.Text = "软件主页";
|
||||
this.主页ToolStripMenuItem.Click += new System.EventHandler(this.主页ToolStripMenuItem_Click);
|
||||
//
|
||||
// 通用微信多开工具ToolStripMenuItem
|
||||
//
|
||||
this.通用微信多开工具ToolStripMenuItem.Name = "通用微信多开工具ToolStripMenuItem";
|
||||
this.通用微信多开工具ToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
||||
this.通用微信多开工具ToolStripMenuItem.Text = "通用微信多开工具";
|
||||
this.通用微信多开工具ToolStripMenuItem.Click += new System.EventHandler(this.通用微信多开工具ToolStripMenuItem_Click);
|
||||
//
|
||||
// FormMain
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
@@ -377,6 +387,7 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 完整文档ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 手动输入补丁信息ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 特征码防撤回强制ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 通用微信多开工具ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using RevokeMsgPatcher.Modifier;
|
||||
using RevokeMsgPatcher.Utils;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Web.Script.Serialization;
|
||||
@@ -274,7 +275,7 @@ namespace RevokeMsgPatcher
|
||||
DialogResult dr = MessageBox.Show(tips, "当前支持防撤回的版本", MessageBoxButtons.OKCancel);
|
||||
if (dr == DialogResult.OK && needUpdate)
|
||||
{
|
||||
System.Diagnostics.Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/releases");
|
||||
Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/releases");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -352,27 +353,27 @@ namespace RevokeMsgPatcher
|
||||
|
||||
private void 主页ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher");
|
||||
Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher");
|
||||
}
|
||||
|
||||
private void 支持版本ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki/%E7%89%88%E6%9C%AC%E6%94%AF%E6%8C%81");
|
||||
Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki/%E7%89%88%E6%9C%AC%E6%94%AF%E6%8C%81");
|
||||
}
|
||||
|
||||
private void 常见问题ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98");
|
||||
Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98");
|
||||
}
|
||||
|
||||
private void 防撤回原理ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki#%E5%8E%9F%E7%90%86");
|
||||
Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki#%E5%8E%9F%E7%90%86");
|
||||
}
|
||||
|
||||
private void 完整文档ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki");
|
||||
Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/wiki");
|
||||
}
|
||||
|
||||
private void 特征码防撤回强制ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
@@ -384,5 +385,24 @@ namespace RevokeMsgPatcher
|
||||
{
|
||||
MessageBox.Show("作者正在考虑是否要加上这个功能,该功能可能有安全风险,暂时不加入", "手动输入补丁信息");
|
||||
}
|
||||
|
||||
private void 通用微信多开工具ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
string path = Path.Combine(Application.StartupPath, "RevokeMsgPatcher.MultiInstance.exe");
|
||||
if (File.Exists(path))
|
||||
{
|
||||
Process p = new Process();
|
||||
p.StartInfo.FileName = path;
|
||||
p.Start();
|
||||
}
|
||||
else
|
||||
{
|
||||
DialogResult dr = MessageBox.Show($"未在同级目录下找到“微信通用多开工具”,位置:{path},点击“确定”访问微信通用多开工具的主页,你可以在主页上下载到这个工具。", "未找到程序", MessageBoxButtons.OKCancel);
|
||||
if (dr == DialogResult.OK)
|
||||
{
|
||||
Process.Start("https://github.com/huiyadanli/RevokeMsgPatcher/tree/master/RevokeMsgPatcher.MultiInstance");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user