コード例 #1
0
ファイル: libsteam.py プロジェクト: nlehuen/steamclean
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
コード例 #2
0
ファイル: libgalaxy.py プロジェクト: nlehuen/steamclean
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
コード例 #3
0
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
コード例 #4
0
ファイル: libsteam.py プロジェクト: Sarmatios/steamclean
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
コード例 #5
0
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
コード例 #6
0
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