def findWindowsRunning(paths):
    """
    Find any running games on windows
    """
    for process in psutil.process_iter(attrs=['name', 'exe']):
        name = process.info['name'].lower()
        path = process.info['exe']
        if name == 'leagueclient.exe' and '\\RADS' in path:
            paths.append(path.split('\\RADS')[0])
        if name == 'leagueclient.exe' and '\\LeagueClient.exe' in path:
            paths.append(os.path.join(path.split('\\LeagueClient.exe')[0]))
        elif name in ('launcher.exe', 'singleplayertool.exe') and 'DevRoot' in path:
            paths.append(os.path.join(path.split('\\DevRoot')[0], 'DevRoot'))

    Find any running games on windows
    
leaguedirector/enable.py