diff --git a/CHANGELOG.md b/CHANGELOG.md index db9035f..2bf5abe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.1.5 +- Fix detection of League of Legends game clients + ## 0.1.4 - Upgrade to Qt 6.6.3.1 - Upgrade to Python 3.11.9 diff --git a/build/install.iss b/build/install.iss index a05931b..0115106 100644 --- a/build/install.iss +++ b/build/install.iss @@ -1,6 +1,6 @@ [Setup] AppName=League Director -AppVersion=0.1.4 +AppVersion=0.1.5 AppVerName=League Director DisableDirPage=no DefaultDirName={pf}\League Director diff --git a/leaguedirector/__init__.py b/leaguedirector/__init__.py index bbab024..1276d02 100644 --- a/leaguedirector/__init__.py +++ b/leaguedirector/__init__.py @@ -1 +1 @@ -__version__ = "0.1.4" +__version__ = "0.1.5" diff --git a/leaguedirector/enable.py b/leaguedirector/enable.py index 961f066..2e48541 100644 --- a/leaguedirector/enable.py +++ b/leaguedirector/enable.py @@ -9,12 +9,10 @@ def findWindowsInstalled(paths): """ Find games installs in the windows registry. """ - settings = QSettings('HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node', QSettings.NativeFormat); - settings.beginGroup('Riot Games, Inc') + settings = QSettings('HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall', QSettings.NativeFormat); for key in settings.allKeys(): - if key.endswith('/Location'): + if key.startswith('Riot Game league_of_legends') and key.endswith('InstallLocation'): paths.append(settings.value(key)) - settings.endGroup() def findWindowsRunning(paths): """