def install(self):
        if self._pebble.firmware_version.major < 3:
            self._install_legacy2()
        else:
            self._install_modern()
Installs an app. Blocks until the installation is complete, or raises :exc:`AppInstallError` if it fails.
dataset/ETHPy150Open pebble/libpebble2/libpebble2/services/install.py/AppInstaller.install