Skip to content

Commit

Permalink
Tried to make it compatible with beta clients
Browse files Browse the repository at this point in the history
* Added battle.beta.net to the GetBnetProcessId()
* Bumped version to 1.12
  • Loading branch information
dafzor committed Jul 15, 2017
1 parent 7ade829 commit 587196d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bnetlauncher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ private static int GetBnetProcessId()
// TODO: What would happen if there's another program with a battle.net.exe running? Should we even care?
try
{
using (var searcher = new ManagementObjectSearcher("SELECT ProcessId FROM Win32_process WHERE Name = 'Battle.Net.exe'"))
using (var searcher = new ManagementObjectSearcher("SELECT ProcessId FROM Win32_process WHERE Name = 'Battle.Net.Beta.exe' OR Name = 'Battle.Net.exe'"))
{
foreach (var result in searcher.Get())
{
Expand Down
4 changes: 2 additions & 2 deletions bnetlauncher/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.11.*")]
//[assembly: AssemblyFileVersion("1.11.*")]
[assembly: AssemblyVersion("1.12.*")]
//[assembly: AssemblyFileVersion("1.12.*")]
3 changes: 3 additions & 0 deletions bnetlauncher/instructions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ Special Thanks

Version History
---------------
1.12
+ Tried to make it compatible with beta versions of the battle.net client

1.11
+ Added aditional checks for when battlenet:// uri handler is broken

Expand Down

0 comments on commit 587196d

Please sign in to comment.