From e3467f390715e5c17fff49e4a7f35d19f6b0729a Mon Sep 17 00:00:00 2001 From: AlessandroZ Date: Thu, 22 Oct 2015 15:16:40 +0200 Subject: [PATCH] cf changelog Former-commit-id: bdbe9d56ad83f384bfb55b420ed461e0bc12a36d [formerly bdbe9d56ad83f384bfb55b420ed461e0bc12a36d [formerly bdbe9d56ad83f384bfb55b420ed461e0bc12a36d [formerly 64060a015bc2967ccd0491a5edbbb3f4fecb9ab6]]] Former-commit-id: 6cd4267ee3545a1d65293a9c884be672cd552338 Former-commit-id: 64f0b4bd77c30af209161c313d961a3cd665e6b4 Former-commit-id: 2299bf9d79979e7bd5aede99c0485ed6ffc45a1e --- CHANGELOG | 9 +++++++++ Windows/src/LaZagne/config/constant.py | 2 +- Windows/src/LaZagne/softwares/games/galconfusion.py | 4 ++-- Windows/src/LaZagne/softwares/games/kalypsomedia.py | 2 +- Windows/src/LaZagne/softwares/games/roguestale.py | 2 +- Windows/src/LaZagne/softwares/games/turba.py | 6 +++--- Windows/src/LaZagne/softwares/windows/secrets.py | 1 + 7 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 1ab4cded..035779b6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,12 @@ +LaZagne 1.1 (22/10/2015) +- Only Windows + * New category: games (Thanks to David Lodge) + * Galcon Fusion + * Kalypso Media Launcher + * Rogue's Tale + * Turba + + LaZagne 1.0 (04/10/2015) - Only Windows * Fix chrome database locked diff --git a/Windows/src/LaZagne/config/constant.py b/Windows/src/LaZagne/config/constant.py index 5cc52818..527053f2 100644 --- a/Windows/src/LaZagne/config/constant.py +++ b/Windows/src/LaZagne/config/constant.py @@ -2,7 +2,7 @@ class constant(): folder_name = 'results' MAX_HELP_POSITION = 27 - CURRENT_VERSION = '1.0' + CURRENT_VERSION = '1.1' output = None file_logger = None diff --git a/Windows/src/LaZagne/softwares/games/galconfusion.py b/Windows/src/LaZagne/softwares/games/galconfusion.py index af957d42..d1264c38 100644 --- a/Windows/src/LaZagne/softwares/games/galconfusion.py +++ b/Windows/src/LaZagne/softwares/games/galconfusion.py @@ -21,11 +21,11 @@ def run(self): with OpenKey(HKEY_CURRENT_USER, 'Software\Valve\Steam') as key: results=QueryValueEx(key, 'SteamPath') except: - print_debug('ERROR', 'Steam does not appear to be installed.') + print_debug('INFO', 'Steam does not appear to be installed.') return if not results: - print_debug('ERROR', 'Steam does not appear to be installed.') + print_debug('INFO', 'Steam does not appear to be installed.') return steampath=results[0] diff --git a/Windows/src/LaZagne/softwares/games/kalypsomedia.py b/Windows/src/LaZagne/softwares/games/kalypsomedia.py index c1c973e3..1676f645 100644 --- a/Windows/src/LaZagne/softwares/games/kalypsomedia.py +++ b/Windows/src/LaZagne/softwares/games/kalypsomedia.py @@ -29,7 +29,7 @@ def run(self): # The actual user details are stored in *.userdata files if not os.path.exists(inifile): - print_debug('ERROR', 'The Kalypso Media Launcher doesn\'t appear to be installed.') + print_debug('INFO', 'The Kalypso Media Launcher doesn\'t appear to be installed.') return config = ConfigParser.ConfigParser() diff --git a/Windows/src/LaZagne/softwares/games/roguestale.py b/Windows/src/LaZagne/softwares/games/roguestale.py index b94c168e..6a5dd8f2 100644 --- a/Windows/src/LaZagne/softwares/games/roguestale.py +++ b/Windows/src/LaZagne/softwares/games/roguestale.py @@ -23,7 +23,7 @@ def run(self): # The actual user details are stored in *.userdata files if not os.path.exists(directory): - print_debug('ERROR', 'Rogue\'s Tale appears to not be installed.') + print_debug('INFO', 'Rogue\'s Tale appears to not be installed.') return files = os.listdir(directory) diff --git a/Windows/src/LaZagne/softwares/games/turba.py b/Windows/src/LaZagne/softwares/games/turba.py index 14742d1d..60fa150c 100644 --- a/Windows/src/LaZagne/softwares/games/turba.py +++ b/Windows/src/LaZagne/softwares/games/turba.py @@ -21,11 +21,11 @@ def run(self): with OpenKey(HKEY_CURRENT_USER, 'Software\Valve\Steam') as key: results=QueryValueEx(key, 'SteamPath') except: - print_debug('ERROR', 'Steam does not appear to be installed.') + print_debug('INFO', 'Steam does not appear to be installed.') return if not results: - print_debug('ERROR', 'Steam does not appear to be installed.') + print_debug('INFO', 'Steam does not appear to be installed.') return steampath=results[0] @@ -39,7 +39,7 @@ def run(self): filepath = steamapps + '\\Turba\\Assets\\Settings.bin' if not os.path.exists(filepath): - print_debug('ERROR', 'Turba doesn\'t appear to be installed.') + print_debug('INFO', 'Turba doesn\'t appear to be installed.') return # If we're here we should have a valid config file file diff --git a/Windows/src/LaZagne/softwares/windows/secrets.py b/Windows/src/LaZagne/softwares/windows/secrets.py index fb2b0eda..92255dd2 100644 --- a/Windows/src/LaZagne/softwares/windows/secrets.py +++ b/Windows/src/LaZagne/softwares/windows/secrets.py @@ -52,6 +52,7 @@ def run(self): except Exception,e: print_debug('DEBUG', '{0}'.format(e)) print_debug('ERROR', 'Failed to save %s hive' % f) + return if not self.check_existing_systemFiles():