'Determines how this copy of sr was installed.
returns: type of installation. Possible values are:
\'win\': any compiled windows build
\'git\': running from source using git
\'source\': running from source without git'

@staticmethod
def find_install_type():

    if sickbeard.BRANCH.startswith(u'build    '):
        install_type = u'win'
    elif ek(os.path.isdir, ek(os.path.join, sickbeard.PROG_DIR, u'.git')):
        install_type = u'git'
    else:
        install_type = u'source'
    return install_type
