def winreg_read(): """ Get Steam installation path from reading registry data. If unable to read registry information prompt user for input. """ install_path = libproviders.winreg_read(r'Valve\Steam', 'InstallPath') liblogger.info('Steam installation path found at %s', install_path) return install_path
def winreg_read(): """ Get GoG galaxy installation path from reading registry data. If unable to read registry information prompt user for input. """ install_path = libproviders.winreg_read(r'GoG.com\GalaxyClient\settings', 'libraryPath') liblogger.info('GoG Galaxy installation path found at %s', install_path) return install_path
def winreg_read(): """ Get Steam installation path from reading registry data. If unable to read registry information prompt user for input. """ install_path = libproviders.winreg_read(r'Valve\Steam', 'InstallPath') if install_path is not None: liblogger.info('Steam installation path found at %s', install_path) else: liblogger.warn('Steam installation not found by registry check') return install_path
def winreg_read(): """ Get GoG galaxy installation path from reading registry data. If unable to read registry information prompt user for input. """ install_path = libproviders.winreg_read(r'Electronic Arts\EA Core', 'EADM6InstallDir') if install_path is not None: liblogger.info('EA Origin installation path found at %s', install_path) else: liblogger.warn('EA Origin installation not found by registry check') return install_path
def winreg_read(): """ Get GoG galaxy installation path from reading registry data. If unable to read registry information prompt user for input. """ install_path = libproviders.winreg_read(r'GoG.com\GalaxyClient\settings', 'libraryPath') if install_path is not None: liblogger.info('GoG Galaxy installation path found at %s', install_path) else: liblogger.warn('GoG Galaxy installation not found by registry check') return install_path