We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5370a1 commit e24311cCopy full SHA for e24311c
1 file changed
Plain Craft Launcher 2/Application.xaml.vb
@@ -115,7 +115,12 @@ RetryCacheCheck:
115
End If
116
Thread.Sleep(500)
117
Next
118
- If Not IsLocked Then DropToTopByLock(FileLockPath)
+ If Not IsLocked Then
119
+ DropToTopByLock(FileLockPath)
120
121
+ Beep()
122
+ Environment.Exit(ProcessReturnValues.Cancel)
123
+ End If
124
125
126
'设置 ToolTipService 默认值
@@ -200,6 +205,7 @@ RetryCacheCheck:
200
205
Dim Pid As Integer
201
206
If Not Integer.TryParse(Encoding.UTF8.GetString(Content), Pid) Then Return
202
207
ShowWindowToTop(Process.GetProcessById(Pid).MainWindowHandle)
208
+
203
209
End Sub
204
210
211
'结束
0 commit comments