MozillaReality / fxr-cli

A command-line tool for installing and automating the Firefox Reality virtual-reality browser.
https://www.npmjs.com/package/fxr
Mozilla Public License 2.0
4 stars 3 forks source link

infer platform from properties from `adb … shell getprop` #19

Open cvan opened 5 years ago

cvan commented 5 years ago
% adb devices
List of devices attached
5LTBC516291253  device
% adb -s 5LTBC516291253 shell getprop
% adb -s 5LTBC516291253 shell getprop | grep -i oculus
[debug.oculus.enableVideoCapture]: [0]
[debug.oculus.inputController]: [malibu]
[debug.oculus.useGearVrService]: [1]
[debug.oculus.vrapilayers]: [Rage,PowerLevelSwitcher,UtilPoller,VrIntegrationLayer]
[oculus.controller1.connected]: [false]
[oculus.controller1.firmware]: [2.7.1]
[oculus.controller1.model]: [pacific_mp]
[oculus.cpuset.imu_config_needed]: [24433038734]
[oculus.device]: [true]
[oculus.vrshell.onBoot]: [true]
[ro.bootimage.build.fingerprint]: [oculus/vr_pacific/pacific:7.1.2/N2G48H/27130.12430.180:user/release-keys]
[ro.build.fingerprint]: [oculus/vr_pacific/pacific:7.1.2/N2G48H/27130.12430.180:user/release-keys]
[ro.logd.filter]: ["1000 com.oculus.updater"]
[ro.oculus.sysimg.ver]: [1]
[ro.ovr.home_uri]: [com.oculus.vrshell.home/com.oculus.vrshell.home.MainActivity]
[ro.ovr.settings_uri]: [com.oculus.systemactivities/com.oculus.systemactivities.PlatformActivity]
[ro.product.brand]: [oculus]
[ro.product.manufacturer]: [Oculus]