Implement KeepOpening
This commit is contained in:
parent
37d5daf2af
commit
9ad321faed
|
@ -86,6 +86,11 @@ namespace RDP_Portal {
|
|||
try {
|
||||
var exeProcess = Process.Start(startInfo) ?? throw new InvalidOperationException();
|
||||
exeProcess.WaitForExit();
|
||||
|
||||
if (!_config.KeepOpening) {
|
||||
this.Close();
|
||||
}
|
||||
|
||||
} catch (Exception ex) {
|
||||
MessageBox.Show(ex.ToString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue