diff options
author | Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | 2022-02-04 15:05:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 15:05:51 +0100 |
commit | 721c32ee2bb15ca16692dee848fc3190ed0b6a49 (patch) | |
tree | 25980249bf03c7fac3c0fc4341512435cf0eea3a | |
parent | 89eb6d372d83f0e79ff7bcc78c304a37bed72abe (diff) | |
parent | 93e2d0446fb7b3eb4dbf875a488b8506fb1e73ff (diff) |
Merge pull request #57618 from Densorius/master
Fixed opening new instances of VS 2022 while a instance is already open
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs b/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs index f29b339c0e..7a4641dbbc 100644 --- a/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs +++ b/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs @@ -183,7 +183,7 @@ namespace GodotTools.OpenVisualStudio continue; // The digits after the colon are the process ID - if (!Regex.IsMatch(ppszDisplayName, "!VisualStudio.DTE.16.0:[0-9]")) + if (!Regex.IsMatch(ppszDisplayName, "!VisualStudio.DTE.1[6-7].0:[0-9]")) continue; if (pprot.GetObject(moniker[0], out object ppunkObject) == 0) |