Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
4.4.1.6 更新
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceTimee committed May 7, 2022
1 parent ca178de commit 15e107a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
Github: [https://github.com/SpaceTimee/Vizpower-Plugin-Installer/releases](https://github.com/SpaceTimee/Vizpower-Plugin-Installer/releases)

## 反馈群号
❤: 904645614</br>
💛: 909457621</br>
💙: 705468445
* ❤: 904645614
* 💛: 909457621
* 💙: 705468445

## 联系邮箱
**Zeus6_6@163.com**

## 开发者
**快乐小牛, WXRIW, Space Time**
**WXRIW, Space Time**

•ᴗ•
8 changes: 4 additions & 4 deletions Vizpower Plugin Installer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private void DealWithPath(string filePath)
//浏览路径
private void NavigateButton_Click(object sender, EventArgs e)
{
OpenFileDialog openFileDialog = new OpenFileDialog { Filter = "无限宝登陆工具|LoginTool*.exe" };
OpenFileDialog openFileDialog = new OpenFileDialog { Filter = "无限宝登陆工具|LoginTool*.exe", RestoreDirectory = true };

if (openFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
PathTextBox.Text = openFileDialog.FileName;
Expand Down Expand Up @@ -219,13 +219,13 @@ private void UninstallButton_Click(object sender, RoutedEventArgs e)
}
private bool KillWxbProcess()
{
if (MessageBox.Show("安装前安装器会尝试自动关闭无限宝相关进程,是否继续?", Title, MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
return false;

foreach (Process process in Process.GetProcesses())
{
if (process.ProcessName == "iMeeting" || process.ProcessName == "LoginTool" || process.ProcessName == "WxbPluginGUI")
{
if (MessageBox.Show("发现无限宝相关进程残留,安装器会尝试自动关闭它,是否继续?", Title, MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
return false;

try
{
process.Kill();
Expand Down

0 comments on commit 15e107a

Please sign in to comment.