removed old tools screen and moved in new tools screen

This commit is contained in:
Shane Harris
2022-07-05 12:19:39 +02:00
parent 629dc242fd
commit aba34f9cdc
24 changed files with 1875 additions and 791 deletions
+77 -8
View File
@@ -5,6 +5,7 @@ import { StatusBarService } from './status-bar.service';
import { BeatOnService } from './beat-on.service';
import { WebviewService } from './webview.service';
import { ProcessBucketService } from './process-bucket.service';
import { DiagnosticatorService, UsbDiagResultStatus } from './diagnostics.service';
declare const process;
export enum ConnectionStatus {
@@ -29,9 +30,9 @@ export class AdbClientService {
deviceSerial: string;
lastConnectionCheck: number;
deviceStatus: ConnectionStatus = ConnectionStatus.UNAUTHORIZED;
deviceStatusMessage: string = 'Connecting...';
lastErrorMessage: string = '';
pollInterval: number = 1000 * 2;
deviceStatusMessage = 'Connecting...';
lastErrorMessage = '';
pollInterval: number = 1000 * 1;
savePath: string;
isTransferring: boolean;
adbResolves: any;
@@ -55,13 +56,16 @@ export class AdbClientService {
total: '',
percent: '',
};
diagnostics: any;
justChangedMPT: boolean;
constructor(
public appService: AppService,
private spinnerService: LoadingSpinnerService,
private statusService: StatusBarService,
private beatonService: BeatOnService,
private webService: WebviewService,
public processService: ProcessBucketService
public processService: ProcessBucketService,
public diag: DiagnosticatorService
) {
this.lastConnectionCheck = performance.now() - 4000;
this.adbPath = appService.path.join(appService.appData, 'platform-tools');
@@ -80,6 +84,48 @@ export class AdbClientService {
'connection-status-too-many': this.deviceStatus === ConnectionStatus.LINUX_PERMS,
};
}
diagBegin() {
this.diagnostics = { loading: true, usb: this.diagnostics ? this.diagnostics.usb : null };
this.diag
.getDeviceStatus()
.then(x => {
if (!this.diagnostics) {
return;
}
this.diagnostics.usb = x;
setTimeout(() => {
this.diagnostics.loading = false;
}, 250);
})
.catch(e => {
console.log('diag-begin catch', e);
this.diagnostics.loading = false;
this.diagnostics.usb = {
is_connected: false,
is_mtp_enabled: false,
is_adb_enabled: false,
is_dev_mode_enabled: false,
all_oculus_devices: [],
adb_device: null,
log: 'Error',
success: false,
result: 'Error',
result_status: UsbDiagResultStatus.Bad,
recommendation: 'Error',
};
});
}
async toggleMTP() {
this.justChangedMPT = true;
await this.adbCommand('shell', {
serial: this.deviceSerial,
command: 'svc usb setFunctions ' + (this.diagnostics.usb && this.diagnostics.usb.is_mtp_enabled ? '' : 'mtp'),
});
}
get isReady(): boolean {
return this.deviceStatus === ConnectionStatus.CONNECTED;
}
runAdbCommand(adbCommandToRun) {
if (this.deviceStatus !== ConnectionStatus.CONNECTED) {
return Promise.reject('Adb command failed - No device connected!');
@@ -93,7 +139,6 @@ export class AdbClientService {
this.appService.exec(
'"' + this.appService.path.join(this.adbPath, this.getAdbBinary()) + '" -s ' + this.deviceSerial + ' ' + command,
function(err, stdout, stderr) {
console.log(err, stdout, stderr);
if (err) {
return reject(err);
}
@@ -103,6 +148,7 @@ export class AdbClientService {
);
}).then((resp: string) => {
this.adbResponse = resp.trim() || 'Command Completed.';
return this.adbResponse;
});
}
launchApp(packageName) {
@@ -221,6 +267,24 @@ export class AdbClientService {
makeDirectory(dir) {
return this.adbCommand('shell', { serial: this.deviceSerial, command: 'mkdir "' + dir + '"' });
}
tryGetQuestDevice(devices: ADBDevice[]) {
let selectedDevice: ADBDevice;
if (this.diagnostics && this.diagnostics.usb) {
const oculusDevices = this.diagnostics.usb.all_oculus_devices;
for (let i = 0; i < oculusDevices.length; i++) {
for (let j = 0; j < devices.length; j++) {
if (oculusDevices[i].serial === devices[j].id) {
selectedDevice = devices[j];
}
}
}
}
if (selectedDevice) {
return selectedDevice;
} else {
return devices[0];
}
}
getConnectedStatus() {
if (!this.devices.length) {
return ConnectionStatus.DISCONNECTED;
@@ -228,12 +292,12 @@ export class AdbClientService {
if (!this.deviceSerial) {
let readyDevice = this.devices.filter(d => d.type === 'device');
if (readyDevice.length) {
this.deviceSerial = readyDevice[0].id;
this.deviceSerial = this.tryGetQuestDevice(readyDevice).id;
}
}
let readyDevice = this.devices.filter(d => d.id === this.deviceSerial);
if (!readyDevice.length && this.devices.length) {
this.deviceSerial = this.devices[0].id;
this.deviceSerial = this.tryGetQuestDevice(this.devices).id;
readyDevice = this.devices.filter(d => d.id === this.deviceSerial);
}
if (readyDevice[0].type === 'device') {
@@ -256,6 +320,7 @@ export class AdbClientService {
}
this.displayDevices = this.devices;
document.getElementById('connection-status').className = 'connection-status-' + status;
this.diagBegin();
switch (this.deviceStatus) {
case ConnectionStatus.LINUX_PERMS:
this.deviceStatusMessage = 'Warning: no permissions. ADB udev rules missing.';
@@ -334,6 +399,10 @@ export class AdbClientService {
return this.adbCommand('listDevices')
.then((devices: any) => devices.filter(device => device.type !== 'offline'))
.then(async devices => {
if (devices.length > 1 && this.justChangedMPT) {
this.justChangedMPT = false;
this.deviceSerial = this.tryGetQuestDevice(devices).id;
}
this.devices = devices;
})
.then(status => {
@@ -918,7 +987,7 @@ This can sometimes be caused by changes to your hosts file. Don't make changes u
name = name || packageId;
const showTotal = number && total ? '(' + number + '/' + total + ') ' : '';
if (!task) this.spinnerService.showLoader();
let p = this.runAdbCommand('adb push "' + filepath + '" /sdcard/Android/obb/' + packageId + '/' + filename);
let p: any = this.runAdbCommand('adb push "' + filepath + '" /sdcard/Android/obb/' + packageId + '/' + filename);
if (cb) {
cb();
}
-1
View File
@@ -5,7 +5,6 @@
border: 2px dashed #3f3f3f;
text-align: center;
}
.spinner,
.spinner-drag {
position: fixed;
+2 -2
View File
@@ -1,6 +1,6 @@
<app-header></app-header>
<div class="app-container full-height">
<app-content class="full-height"></app-content>
<div class="app-container">
<app-content></app-content>
</div>
<app-loading-spinner #spinner></app-loading-spinner>
+2 -2
View File
@@ -15,7 +15,6 @@ import { AppRoutes } from './app.routes';
import { LoadingSpinnerSmallComponent } from './loading-spinner-small/loading-spinner-small.component';
import { PackagesComponent } from './packages/packages.component';
import { PackageItemComponent } from './package-item/package-item.component';
import { ToolsComponent } from './tools/tools.component';
import { LinkComponent } from './link/link.component';
import { FormsModule } from '@angular/forms';
import { SanitizeHtmlPipe } from './sanitize-html.pipe';
@@ -27,6 +26,7 @@ import { HttpClientModule } from '@angular/common/http';
import { CurrentTasksComponent } from './current-tasks/current-tasks.component';
import { CurrentTaskItemComponent } from './current-task-item/current-task-item.component';
import { VirtualScrollerModule } from 'ngx-virtual-scroller';
import { HeadsetSettingsComponent } from './headset-settings/headset-settings.component';
@NgModule({
declarations: [
AppComponent,
@@ -38,7 +38,6 @@ import { VirtualScrollerModule } from 'ngx-virtual-scroller';
LoadingSpinnerSmallComponent,
PackagesComponent,
PackageItemComponent,
ToolsComponent,
LinkComponent,
SanitizeHtmlPipe,
WebviewComponent,
@@ -46,6 +45,7 @@ import { VirtualScrollerModule } from 'ngx-virtual-scroller';
FilesComponent,
CurrentTasksComponent,
CurrentTaskItemComponent,
HeadsetSettingsComponent,
],
imports: [
BrowserModule,
+2 -2
View File
@@ -1,17 +1,17 @@
import { SetupComponent } from './setup/setup.component';
import { Routes } from '@angular/router';
import { PackagesComponent } from './packages/packages.component';
import { ToolsComponent } from './tools/tools.component';
import { WebviewComponent } from './webview/webview.component';
import { FilesComponent } from './files/files.component';
import { CurrentTasksComponent } from './current-tasks/current-tasks.component';
import { HeadsetSettingsComponent } from './headset-settings/headset-settings.component';
export const AppRoutes: Routes = [
{ path: 'setup', component: SetupComponent },
{ path: 'tasks', component: CurrentTasksComponent },
{ path: 'packages', component: PackagesComponent },
{ path: 'packages/:packageName', component: PackagesComponent },
{ path: 'tools', component: ToolsComponent },
{ path: 'tools', component: HeadsetSettingsComponent },
{ path: 'webview', component: WebviewComponent },
{ path: 'device-files', component: FilesComponent },
{ path: '**', component: WebviewComponent },
@@ -7,12 +7,9 @@
}
.content {
width: 100%;
height: calc(100% - 200px);
padding-top: 1em;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
overflow: auto;
transition: background-color 350ms ease-out;
background-color:#0c0c0c;
}
+219
View File
@@ -0,0 +1,219 @@
import { Injectable } from '@angular/core';
const OCULUS_VID = 10291;
const Q2_DEV_OFF_FILES_OFF_PID = 311;
const Q2_DEV_OFF_FILES_ON_PID = 386;
const Q2_DEV_ON_FILES_ON_PID = 387;
const Q2_DEV_ON_FILES_OFF_PID = 390;
declare let process;
export interface UsbDeviceInfo {
locationId: number;
vendorId: number;
productId: number;
deviceName: string;
manufacturer: string;
serialNumber: string;
deviceAddress: number;
}
export enum UsbDiagResultStatus {
Bad = 'diag-bad',
Maybe = 'diag-maybe',
Good = 'diag-good',
}
export interface DeviceUsbStatus {
is_connected: boolean;
is_mtp_enabled: boolean;
is_adb_enabled: boolean;
is_dev_mode_enabled: boolean;
all_oculus_devices: UsbDeviceInfo[];
adb_device: UsbDeviceInfo | null;
log: string;
success: boolean;
result: string;
result_status: UsbDiagResultStatus;
recommendation: string;
}
@Injectable({
providedIn: 'root',
})
export class DiagnosticatorService {
public usbDetect;
constructor() {}
async getDeviceStatus(): Promise<DeviceUsbStatus> {
if (!this.usbDetect) {
this.usbDetect = (window as any).require('usb-detection2');
}
const ret: DeviceUsbStatus = {
is_adb_enabled: false,
is_connected: false,
is_mtp_enabled: false,
is_dev_mode_enabled: false,
all_oculus_devices: [],
adb_device: null,
success: false,
result: 'Error',
recommendation: `Something went wrong, you can try again, but the diagnostics may not support your device`,
result_status: UsbDiagResultStatus.Bad,
log: 'Starting USB diagnostics...\n',
};
return new Promise<DeviceUsbStatus>(async (resolve, reject) => {
try {
const devices = await this.usbDetect.find(OCULUS_VID);
// console.log('Devices: ' + JSON.stringify(devices, null, 3));
ret.log += 'Detected Oculus devices: ' + JSON.stringify(devices, null, 3) + '\n';
try {
ret.success = true;
if (!devices || !devices.length) {
ret.log += 'No Oculus USB devices seem to be connected.\n';
ret.result = `Computer doesn't see Quest plugged in at all`;
ret.recommendation = `- Try a different USB cable or a different USB port on your computer.
- There are a lot of bad USB-C cables out there, maybe try several.
- Make sure the quest is powered on.
- Sometimes rebooting the Quest may resolve the problem.
- Try rebooting your computer.`;
ret.result_status = UsbDiagResultStatus.Bad;
resolve(ret);
return;
} else {
ret.all_oculus_devices.push(...devices);
let devMode = false;
let adb = false;
let mtpMode = false;
let foundAny = false;
let devs = devices.filter(x => x.productId === Q2_DEV_ON_FILES_OFF_PID);
if (devs.length) {
ret.log += 'Found some oculus devices in dev mode without MTP: ';
ret.log += devs.map(x => `(PID ${x.productId}) ${x.deviceName}`).join(', ') + '\n';
devMode = true;
foundAny = true;
if (process.platform == 'win32') {
const adbdev = devs.find(x => x.deviceName.toLowerCase().includes('adb'));
if (adbdev) {
ret.adb_device = ret.adb_device || adbdev;
ret.log += 'Seemed to find an adb device: ' + adbdev.deviceName + '\n';
adb = true;
}
} else {
adb = true;
}
}
devs = devices.filter(x => x.productId === Q2_DEV_ON_FILES_ON_PID);
if (devs.length) {
ret.log += 'Found some oculus devices in dev mode with MTP: ';
ret.log += devs.map(x => `(PID ${x.productId}) ${x.deviceName}`).join(', ') + '\n';
mtpMode = true;
devMode = true;
foundAny = true;
if (process.platform == 'win32') {
const adbdev = devs.find(x => x.deviceName.toLowerCase().includes('adb'));
if (adbdev) {
ret.adb_device = ret.adb_device || adbdev;
ret.log += 'Seemed to find an adb device: ' + adbdev.deviceName + '\n';
adb = true;
}
} else {
adb = true;
}
}
devs = devices.filter(x => x.productId === Q2_DEV_OFF_FILES_ON_PID);
if (devs.length) {
ret.log += 'Found some oculus devices NO dev mode with MTP: ';
ret.log += devs.map(x => `(PID ${x.productId}) ${x.deviceName}`).join(', ') + '\n';
mtpMode = true;
foundAny = true;
const adbdev = devs.find(x => x.deviceName.toLowerCase().includes('adb'));
if (adbdev) {
ret.adb_device = ret.adb_device || adbdev;
ret.log +=
'Unexpected... seemed to find an adb device but no dev mode PID: ' + adbdev.deviceName + '\n';
adb = true;
}
}
devs = devices.filter(x => x.productId === Q2_DEV_OFF_FILES_OFF_PID);
if (devs.length) {
ret.log += 'Found some oculus devices NO dev mode without MTP: ';
ret.log += devs.map(x => `(PID ${x.productId}) ${x.deviceName}`).join(', ') + '\n';
foundAny = true;
const adbdev = devs.find(x => x.deviceName.toLowerCase().includes('adb'));
if (adbdev) {
ret.adb_device = ret.adb_device || adbdev;
ret.log +=
'Unexpected... seemed to find an adb device but no dev mode PID: ' + adbdev.deviceName + '\n';
adb = true;
}
}
if (!foundAny) {
ret.log = "Didn't find any of the expected PIDs. Not sure what's going on. Here's the list: ";
ret.log += JSON.stringify(devices, null, 3) + '\n';
ret.result = `Unknown Oculus device detected`;
ret.recommendation = `Some sort of USB device from Oculus is detected, but it's none of the ones SideQuest knows about. \
Sidequest MAY still work if Oculus has changed things in a firmware update, but it may not. \
You can try rebooting your Quest. Make sure you've installed any available SideQuest updates.`;
ret.result_status = UsbDiagResultStatus.Maybe;
resolve(ret);
return;
} else {
ret.is_connected = true;
ret.is_mtp_enabled = mtpMode;
ret.is_adb_enabled = adb;
ret.is_dev_mode_enabled = devMode;
ret.log += 'MTP (drive mode): ' + (mtpMode ? 'ON' : 'OFF') + '\n';
ret.log += 'Developer Mode: ' + (devMode ? 'ON' : 'OFF') + '\n';
ret.log += 'ADB Device Found: ' + (adb ? 'YES' : 'NO') + '\n';
if (devMode && adb) {
ret.result = `The Quest is connected, developer mode is on and ADB device is present`;
ret.recommendation = `Your computer sees the Quest and it looks like developer mode is on. An ADB device is also connected. If SideQuest isn't working, you can try the following things:
- Make sure your antivirus isn't blocking anything related to sidequest or 'adb'.
- Uninstall and reinstall SideQuest
- Try rebooting the Quest and your computer
- if you've done all these things and are still having issues, you can reach out to SideQuest support.`;
ret.result_status = UsbDiagResultStatus.Good;
} else if (devMode) {
ret.result = `The Quest is connected, developer mode is on, but can't find an ADB device`;
ret.recommendation = `SideQuest MAY still work. Your computer sees the Quest and it looks like developer mode is on, but it isn't clear if the ADB device or driver is present. If SideQuest isn't working, you can try:
- Reboot the Quest
- Reboot your computer
- If you're on windows, try installing the Oculus software (which is currently the only way to manually install the
USB drivers for the quest).`;
ret.result_status = UsbDiagResultStatus.Maybe;
} else if (adb) {
ret.result = `The Quest 2 is connected, developer mode is off, but there's an ADB device showing up?`;
ret.recommendation = `Not sure how this has happened to you, but SideQuest MAY still work. \
This is likely an unhandled device identifier in SideQuest. Contact us \
and provide the log below so that we can add your scenario.`;
ret.result_status = UsbDiagResultStatus.Maybe;
} else {
ret.result = `The Quest 2 is connected, but developer mode is OFF`;
ret.recommendation = `- You need to enable developer mode in your in the OCULUS MOBILE app. Even if you already did it, it sometimes turns off on its own.
- If you don't have access to the mobile app or haven't created a developer account, there's no other way around, you have to do this.
- Follow the various instructions and tutorials in the GET SIDEQUEST section.
- You can try turning developer mode off and back on again or rebooting your headset
- If developer mode is definitely on in the MOBILE APP, you may need to contact Oculus Support.`;
ret.result_status = UsbDiagResultStatus.Bad;
}
}
resolve(ret);
}
} catch (e) {
ret.success = false;
ret.log += 'Error looking for devices: ' + e + '\n';
resolve(ret);
}
} catch (e) {
ret.success = false;
ret.log += 'Error trying to find USB devices: ' + e + '\n';
resolve(ret);
}
});
}
}
@@ -1,6 +1,6 @@
.breadcrumb-wrapper{
position: fixed;
top: 165px;
position: relative;
top: -20px;
width: 100%;
height: auto;
z-index: 1;
@@ -29,5 +29,4 @@
white-space: nowrap;
text-align: left;
width: 100%;
position: fixed;
}
@@ -302,7 +302,7 @@ virtual-scroller{
.user-menu{
position: absolute;
top: 25px;
right: 240px;
right: 80px;
width: 220px;
z-index: 999;
overflow: hidden;
@@ -315,7 +315,7 @@ virtual-scroller{
display: none;
}
.browser-menu{
right: 400px;
right: 200px;
}
.device-menu{
right: initial;
@@ -327,6 +327,7 @@ virtual-scroller{
}
.command-menu{
width: 240px;
right: 20px;
}
.smaller-menu{
top: 44px;
@@ -413,6 +414,7 @@ virtual-scroller{
.top-menu-bar-icon-down{
display: inline-block;
font-size: 1.8rem;
margin-right: 0px!important;
}
}
@@ -98,9 +98,9 @@
</ng-container>
</div>
<div class="user-menu" #userMenu>
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';webService.loadUrl(webUrl || 'https://sidequestvr.com')"
routerLink="/webview"><i class="material-icons left">home</i>Home</div><br>
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';webService.loadUrl(webUrl || 'https://sidequestvr.com')"-->
<!-- routerLink="/webview"><i class="material-icons left">home</i>Home</div><br>-->
<div class="btn-flat waves-light waves-light full-width center-align white-text"
*ngIf="isConnected()&&osPlatform === 'win32'"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';scrcpyModal.openModal();">
@@ -108,30 +108,24 @@
<div class="btn-flat waves-light waves-light full-width center-align white-text" *ngIf="adbService.deviceIp"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';wifiModal.openModal()"><i
class="material-icons left">wifi</i>Wifi</div>
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';selectAppToInstall()"><i
class="material-icons left">archive</i>Select APK</div>
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="/device-files"><i
class="material-icons left">folder</i>File Explorer</div>
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="packages"><i
class="material-icons left">apps</i>My Apps</div>
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="tools"><i
class="material-icons left">build</i>Tools</div>
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';selectAppToInstall()"><i-->
<!-- class="material-icons left">archive</i>Select APK</div>-->
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="/device-files"><i-->
<!-- class="material-icons left">folder</i>File Explorer</div>-->
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="packages"><i-->
<!-- class="material-icons left">apps</i>My Apps</div>-->
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="tools"><i-->
<!-- class="material-icons left">build</i>Tools</div>-->
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';adbModal.openModal()"><i
class="material-icons left">input</i>ADB Commands</div>
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';logcatModal.openModal()"><i
class="material-icons left">input</i>ADB Logcat</div>
<div class="btn-flat waves-light waves-light full-width center-align white-text"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';openDebugger()"><i
class="material-icons left">bug_report</i>Debugger</div>
<div class="btn-flat waves-light waves-light full-width center-align white-text" routerLink="webview"
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';webService.loadUrl('http://tee.pub/lic/L295azlpJYk')">
<i class="material-icons left">storefront</i>GiftShop</div>
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';logcatModal.openModal()"><i-->
<!-- class="material-icons left">input</i>ADB Logcat</div>-->
</div>
<app-link *ngIf="appService.updateAvailable"
class="waves-effect waves-light btn-flat update-available link small-button warning" (click)="updateAvailable()"
@@ -167,15 +161,15 @@
wifi
</i>
<i mz-tooltip #mainLogo (click)="selectAppToInstall()"
class="material-icons white-text no-outline top-menu-bar-icon" position="bottom"
class="material-icons white-text no-outline" position="bottom"
tooltip="Install APK file from folder on computer.">
archive
</i>
<i mz-tooltip class="material-icons white-text no-outline top-menu-bar-icon" routerLink="/device-files"
<i mz-tooltip class="material-icons white-text no-outline " routerLink="/device-files"
position="bottom" tooltip="Manage files on the headset.">
folder
</i>
<i routerLink="packages" mz-tooltip class="material-icons white-text no-outline top-menu-bar-icon"
<i routerLink="packages" mz-tooltip class="material-icons white-text no-outline"
position="bottom" tooltip="Currently installed apps">
apps
</i>
@@ -189,7 +183,7 @@
position="bottom" tooltip="{{processService.failed_length}} failed tasks."
class="process-badge pink-button red">{{processService.failed_length>100?'99+':processService.failed_length}}</span>
<i id="device-settings" routerLink="tools" mz-tooltip
class="material-icons white-text no-outline top-menu-bar-icon" position="bottom"
class="material-icons white-text no-outline" position="bottom"
tooltip="Device settings & tools">
build
</i>
@@ -197,22 +191,22 @@
position="bottom" tooltip="Run ADB commands">
input
</i>
<i (click)="openDebugger()" id="open-debugger" mz-tooltip class="material-icons white-text top-menu-bar-icon"
position="bottom" tooltip="Open debugger">
bug_report
</i>
<i (click)="minimizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"
tooltip="Minimize SideQuest.">
minimize
</i>
<i (click)="maximizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"
tooltip="Toggle Maximize.">
aspect_ratio
</i>
<i (click)="closeAppModal.openModal(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"
tooltip="Close SideQuest.">
close
</i>
<!-- <i (click)="openDebugger()" id="open-debugger" mz-tooltip class="material-icons white-text top-menu-bar-icon"-->
<!-- position="bottom" tooltip="Open debugger">-->
<!-- bug_report-->
<!-- </i>-->
<!-- <i (click)="minimizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
<!-- tooltip="Minimize SideQuest.">-->
<!-- minimize-->
<!-- </i>-->
<!-- <i (click)="maximizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
<!-- tooltip="Toggle Maximize.">-->
<!-- aspect_ratio-->
<!-- </i>-->
<!-- <i (click)="closeAppModal.openModal(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
<!-- tooltip="Close SideQuest.">-->
<!-- close-->
<!-- </i>-->
</div>
<div id="connection-status-container">
<i mz-tooltip class="material-icons white-text no-outline connection-device-select pointer"
@@ -313,9 +313,6 @@ export class HeaderComponent implements OnInit {
win.maximize();
}
}
openDebugger() {
this.appService.remote.getCurrentWindow().toggleDevTools();
}
async selectAppToInstall() {
let files = await this.appService.remote.dialog.showOpenDialog({
properties: ['openFile', 'multiSelections'],
@@ -0,0 +1,309 @@
<div class="container text-dark-theme">
<div *ngIf="!adbService.isReady" class="diagnostics-inner" >
<br>
<ng-container>
You are not currently connected.
</ng-container>
<br><br>
<button class="pure-material-button-contained" (click)="close.emit()">Back to Main Screen</button>
</div>
<ng-container *ngIf="adbService.isReady">
<h3 class="section-title">MTP ( Media Transfer Protocol )</h3>
<div class="switch">
<label>
Off
<input type="checkbox" class="disable-reviews" [checked]="adbService.diagnostics.usb && adbService.diagnostics.usb.is_mtp_enabled" (click)="adbService.toggleMTP()">
<span class="lever disable-reviews-switch"></span>
On
</label>
</div>
<h4 class="description-section">
This allows you to transfer files between your computer and your headset using your favourite file explorer. You may need to re-enable this when you re-connect your headset.
</h4>
<br>
<h3 class="section-title">Experimental Mode</h3>
<div class="switch">
<label>
Off
<input type="checkbox" class="disable-reviews" [checked]="experimentalEnabled"
(click)="experimentalEnabled ? setExperimental(EXP.Off) : setExperimental(EXP.On);">
<span class="lever disable-reviews-switch"></span>
On
</label>
</div>
<h4 class="description-section">
This enables experimental features in your Oculus Quest such as Passthrough API support ( requires guardian to be enabled ).
</h4>
<br>
<h3 class="section-title">Refresh Rate</h3>
<p>
<label>
<input name="group1" type="radio" value="60" [(ngModel)]="refreshRate" (click)="setRR(RR._60)"/>
<span>60Hz</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" value="72" [(ngModel)]="refreshRate" (click)="setRR(RR._72)"/>
<span>72Hz ( Default )</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" value="90" [(ngModel)]="refreshRate" (click)="setRR(RR._90)"/>
<span>90Hz</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" value="120" [(ngModel)]="refreshRate" (click)="setRR(RR._120)"/>
<span>120Hz</span>
</label>
</p>
<h4 class="description-section">
This will allow you to change to 90Hz refresh rate for 90fps support in games on Quest 2.<br>
WARNING: This does not work in all games, and does not work with Oculus Link. This setting may also reset to default when you restart your headset. You may need to press the power button twice to turn the screen off and on to enable this setting for apps that dont have it natively enabled.
</h4><br>
<h3 class="section-title">Proximity Sensor</h3>
<div class="button-section">
<div class="pure-material-button-contained spaced flat active" (click)="disableProximity()">Disable Proximity Sensor</div>
</div>
<h4 class="description-section">
This disables the proximity sensor effectively keeping your quest awake when not on your head ( requires restart to re-enable ).
</h4><br>
<h3 class="section-title">Guardian</h3>
<div class="switch">
<label>
Off
<input type="checkbox" class="disable-reviews" [checked]="!guardianEnabled" (click)="guardianEnabled ? setGuardian(GU.ON) : setGuardian(GU.OFF)">
<span class="lever disable-reviews-switch"></span>
On
</label>
</div>
<h4 class="description-section">
This will enable/disable the guardian.
</h4><br>
<h3 class="section-title">Set CPU and GPU level</h3>
<p>
<label>
<input name="group5" type="radio" value="app-app" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._app)"/>
<span>Set by App ( Default )</span>
</label>
</p>
<p>
<label>
<input name="group5" type="radio" value="2-2" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._2)"/>
<span>Level 2</span>
</label>
</p>
<p>
<label>
<input name="group5" type="radio" value="4-4" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._4)"/>
<span>Level 4</span>
</label>
</p>
<h4 class="description-section">
This can improve performance for 2D apps & games at the cost of draining your battery quicker and your device may get a little hotter than normal but totally within limits.
</h4><br>
<h3 class="section-title">Default Texture Size</h3>
<div class="description-section">
This will change how high quality some of the in game textures are rendered at.
</div>
<p>
<label>
<input name="group6" type="radio" value="1216-1344" [(ngModel)]="textureSize" (click)="setSSO(SSO._Quest1)"/>
<span>Default - Quest 1</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="1440-1584" [(ngModel)]="textureSize" (click)="setSSO(SSO._Quest2)"/>
<span>Default - Quest 2</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="512-563" [(ngModel)]="textureSize" (click)="setSSO(SSO._512)"/>
<span>512</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="768-845" [(ngModel)]="textureSize" (click)="setSSO(SSO._768)"/>
<span>768</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="1024-1127" [(ngModel)]="textureSize" (click)="setSSO(SSO._1024)"/>
<span>1024</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="1280-1408" [(ngModel)]="textureSize" (click)="setSSO(SSO._1280)"/>
<span>1280</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="1536-1690" [(ngModel)]="textureSize" (click)="setSSO(SSO._1536)"/>
<span>1536</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="2048-2253" [(ngModel)]="textureSize" (click)="setSSO(SSO._2048)"/>
<span>2048</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="2560-2816" [(ngModel)]="textureSize" (click)="setSSO(SSO._2560)"/>
<span>2560</span>
</label>
</p>
<p>
<label>
<input name="group6" type="radio" value="3072-3380" [(ngModel)]="textureSize" (click)="setSSO(SSO._3072)"/>
<span>3072</span>
</label>
</p><h3 class="section-title">Chromatic Aberration</h3>
<p>
<label>
<input name="group2" type="radio" value="1" [(ngModel)]="chromaticAberration" (click)="setCa(CA.ON)"/>
<span>On ( Default )</span>
</label>
</p>
<p>
<label>
<input name="group2" type="radio" value="0" [(ngModel)]="chromaticAberration" (click)="setCa(CA.OFF)"/>
<span>Off</span>
</label>
</p>
<p>
<label>
<input name="group2" type="radio" value="-1" [(ngModel)]="chromaticAberration" (click)="setCa(CA.APP)"/>
<span>App Selected</span>
</label>
</p>
<h4 class="description-section">
This will enable/disable chromatic aberration.
</h4><br>
<h3 class="section-title">Full Rate Capture</h3>
<div class="switch">
<label>
Off
<input type="checkbox" class="disable-reviews" [checked]="fullRateCaptureEnabled" (click)="fullRateCaptureEnabled ? setFullRate(GU.OFF) : setFullRate(GU.ON)">
<span class="lever disable-reviews-switch"></span>
On
</label>
</div>
<h4 class="description-section">
This will enable/disable the full rate capture for videos recorded i.e. 60/72fps rather than 30fps.
</h4><br>
<h3 class="section-title">
Set FFR ( Fixed Foveated Rendering ) level
</h3>
<p>
<label>
<input name="group3" type="radio" value="0" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.OFF)"/>
<span>Off</span>
</label>
</p>
<p>
<label>
<input name="group3" type="radio" value="1" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.LOW)"/>
<span>Low</span>
</label>
</p>
<p>
<label>
<input name="group3" type="radio" value="2" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.MEDIUM)"/>
<span>Medium ( Default )</span>
</label>
</p>
<p>
<label>
<input name="group3" type="radio" value="3" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.HIGH)"/>
<span>High</span>
</label>
</p>
<p>
<label>
<input name="group3" type="radio" value="4" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.HIGH_TOP)"/>
<span>High Top</span>
</label>
</p>
<h4 class="description-section">
This will change how the view is rendered in the outer edges of the viewscreen for each eye. Higher is better
performance, lower is better quality. This gets reset when you reboot the device.
</h4><br>
<h3 class="section-title">Set Video Capture Size</h3>
<p>
<label>
<input name="group4" type="radio" value="640-480" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._480)"/>
<span>640 x 480</span>
</label>
</p>
<p>
<label>
<input name="group4" type="radio" value="1280-720" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._720)"/>
<span>1280 x 720</span>
</label>
</p>
<p>
<label>
<input name="group4" type="radio" value="1920-1080" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._1080)"/>
<span>1920 x 1080</span>
</label>
</p>
<p>
<label>
<input name="group4" type="radio" value="1024-1024" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._1024)"/>
<span>1024 X 1024 ( Default )</span>
</label>
</p>
<h4 class="description-section">
This changes the resolution of captured videos on the Quest
</h4><br>
<h3 class="section-title">SideQuest Folders</h3>
<div class="button-section">
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.MAIN)">Open Main App Folder</div>
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.APK_BACKUPS)">Open APK Backup Folder</div>
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.ADB)">Open ADB Folder</div>
</div>
<h4 class="description-section">
This changes the resolution of captured videos on the Quest
</h4><br>
<h3 class="section-title">SideQuest Debugger</h3>
<div class="button-section">
<div class="pure-material-button-contained spaced flat active" (click)="openDebugger()">Open SideQuest Debugger</div>
</div>
<h4 class="description-section">
Open the SideQuest chromium dev tools.
</h4><br>
<div class="side-quest-version">
SideQuest Advanced Installer: {{appService.versionName}}
</div>
</ng-container>
</div>
@@ -0,0 +1,13 @@
.button-section{
margin-top: 0.5em;
margin-bottom: 1.5em;
}
.side-quest-version{
position:relative;
text-align: right;
padding-bottom: 10px;
}
.description-section{
font-size: 0.9rem;
}
@@ -0,0 +1,24 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ToolsComponent } from './tools.component';
describe('ToolsComponent', () => {
let component: ToolsComponent;
let fixture: ComponentFixture<ToolsComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ToolsComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ToolsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,383 @@
import { Component, EventEmitter, OnInit, Output } from '@angular/core';
import { AdbClientService } from '../adb-client.service';
import { AppService, FolderType } from '../app.service';
import { StatusBarService } from '../status-bar.service';
enum FFR {
OFF,
LOW,
MEDIUM,
HIGH,
HIGH_TOP,
}
enum GPU {
_2,
_4,
_app,
}
enum EXP {
Off,
On,
}
enum GU {
ON,
OFF,
}
enum CA {
APP,
OFF,
ON,
}
enum SSO {
_512,
_768,
_1024,
_1280,
_1536,
_2048,
_2560,
_3072,
_1440,
_Go,
_Quest1,
_Quest2,
}
enum SVR {
_1024,
_1536,
}
enum CR {
_480,
_720,
_1080,
_1024,
}
enum SVB {
_5Mbps,
_15Mbps,
_25Mbps,
}
enum RR {
_60,
_72,
_72_DEF,
_90,
_120,
}
@Component({
selector: 'app-headset-settings',
templateUrl: './headset-settings.component.html',
styleUrls: ['./headset-settings.component.scss'],
})
export class HeadsetSettingsComponent implements OnInit {
@Output() close = new EventEmitter();
folder = FolderType;
experimentalEnabled: boolean;
refreshRate: string;
chromaticAberration: string;
guardianEnabled: boolean;
fullRateCaptureEnabled: boolean;
fixedFoveatedRendering: string;
videoCaptureSize: string;
cpuGpuLevel: string;
textureSize: string;
FFR = FFR;
SVR = SVR;
SVB = SVB;
SSO = SSO;
GU = GU;
CA = CA;
CR = CR;
GPU = GPU;
FR = GU;
RR = RR;
EXP = EXP;
constructor(public adbService: AdbClientService, public appService: AppService, private statusService: StatusBarService) {
this.appService.resetTop();
appService.webService.isWebviewOpen = false;
appService.isSettingsOpen = true;
}
async ngOnInit() {
this.getInitialValues();
}
async getInitialValues() {
if (this.adbService.isReady) {
this.getPropertyValues();
} else {
setTimeout(() => this.getInitialValues(), 200);
}
}
async getPropertyValues() {
await this.getBool('experimentalEnabled', 'debug.oculus.experimentalEnabled');
await this.getBool('guardianEnabled', 'debug.oculus.guardian_pause');
await this.getBool('fullRateCaptureEnabled', 'debug.oculus.fullRateCapture');
await this.getString('debug.oculus.refreshRate', '72', 'refreshRate');
await this.getString('debug.oculus.forceChroma', '1', 'chromaticAberration');
await this.getString('debug.oculus.foveation.level', '2', 'fixedFoveatedRendering');
// await this.getString('debug.oculus.forceChroma', '1', 'videoCaptureSize');
await this.getDoubleString('debug.oculus.capture.width', 'debug.oculus.capture.height', '1024', '1024', 'videoCaptureSize');
await this.getDoubleString('debug.oculus.cpuLevel', 'debug.oculus.gpuLevel', 'app', 'app', 'cpuGpuLevel');
await this.getDoubleString('debug.oculus.textureWidth', 'debug.oculus.textureHeight', '1440', '1584', 'textureSize');
}
openDebugger() {
this.appService.remote.getCurrentWindow().toggleDevTools();
}
async getDoubleString(
firstProperty: string,
secondProperty: string,
firstDefault: string,
secondDefault: string,
value: string
) {
const response = await this.getValue(firstProperty);
const response2 = await this.getValue(secondProperty);
this[value] =
(response.trim() ? response.trim() : firstDefault) + '-' + (response2.trim() ? response2.trim() : secondDefault);
}
async getString(property: string, defaultValue: string, value: string) {
const response = await this.getValue(property);
this[value] = response.trim() ? response.trim() : defaultValue;
}
async getBool(value: string, property: string) {
const response = await this.getValue(property);
if (response.trim() === '1') {
this[value] = true;
}
}
async getValue(property: string) {
const response = await this.adbService.adbCommand('shell', {
serial: this.adbService.deviceSerial,
command: 'getprop ' + property,
});
return response;
}
setFFR(ffr: FFR) {
let value = 0;
switch (ffr) {
case FFR.LOW:
value = 1;
break;
case FFR.MEDIUM:
value = 2;
break;
case FFR.HIGH:
value = 3;
break;
case FFR.HIGH_TOP:
value = 4;
break;
}
this.runAdbCommand('setprop debug.oculus.foveation.level ' + value)
.then(() => {
this.statusService.showStatus('Fixed Foveated Rendering set OK!!');
return this.getString('debug.oculus.foveation.level', '2', 'fixedFoveatedRendering');
})
.catch(e => this.statusService.showStatus(e, true));
}
disableProximity() {
this.runAdbCommand('am broadcast -a com.oculus.vrpowermanager.prox_close')
.then(() => {
this.statusService.showStatus('Disable proximity message sent OK!!');
})
.catch(e => this.statusService.showStatus(e, true));
}
runAdbCommand(command: string) {
return this.adbService.adbCommand('shell', { command, serial: this.adbService.deviceSerial });
}
setExperimental(exp: EXP) {
this.runAdbCommand('setprop debug.oculus.experimentalEnabled ' + exp)
.then(() => {
this.statusService.showStatus('Experimental Mode set OK!!');
return this.getBool('experimentalEnabled', 'debug.oculus.experimentalEnabled');
})
.catch(e => this.statusService.showStatus(e, true));
}
setGPU(gpu: GPU) {
const value = gpu === GPU._2 ? 2 : gpu === GPU._app ? "''" : 4;
this.runAdbCommand('setprop debug.oculus.cpuLevel ' + value)
.then(() => this.runAdbCommand('setprop debug.oculus.gpuLevel ' + value))
.then(() => {
this.statusService.showStatus('CPU/GPU level set OK!!');
return this.getDoubleString('debug.oculus.cpuLevel', 'debug.oculus.gpuLevel', 'app', 'app', 'cpuGpuLevel');
})
.catch(e => this.statusService.showStatus(e, true));
}
setFullRate(fullRate: GU) {
this.runAdbCommand('setprop debug.oculus.fullRateCapture ' + (fullRate === GU.ON ? 1 : 0))
.then(() => {
this.statusService.showStatus('Full Rate Capture set OK!!');
return this.getBool('fullRateCaptureEnabled', 'debug.oculus.fullRateCapture');
})
.catch(e => this.statusService.showStatus(e, true));
}
setGuardian(guardian: GU) {
this.runAdbCommand('setprop debug.oculus.guardian_pause ' + (guardian === GU.ON ? 0 : 1))
.then(() => {
this.statusService.showStatus('Guardian pause set OK!!');
return this.getBool('guardianEnabled', 'debug.oculus.guardian_pause');
})
.catch(e => this.statusService.showStatus(e, true));
}
setCa(ca: CA) {
this.runAdbCommand('setprop debug.oculus.forceChroma ' + (ca === CA.ON ? 1 : ca === CA.APP ? -1 : 0))
.then(() => {
this.statusService.showStatus('Chromatic Aberration set OK!!');
return this.getString('debug.oculus.forceChroma', '1', 'chromaticAberration');
})
.catch(e => this.statusService.showStatus(e, true));
}
setRR(rr: RR) {
let value = 72;
switch (rr) {
case RR._60:
value = 60;
break;
case RR._72_DEF:
case RR._72:
value = 72;
break;
case RR._90:
value = 90;
break;
case RR._120:
value = 120;
break;
}
this.runAdbCommand('setprop debug.oculus.refreshRate ' + value)
.then(() => {
this.statusService.showStatus('Refresh Rate set OK!!');
return this.getString('debug.oculus.refreshRate', '72', 'refreshRate');
})
.catch(e => this.statusService.showStatus(e, true));
}
setSSO(sso: SSO) {
let value = 1440;
let hvalue = 1584;
switch (sso) {
case SSO._512:
value = 512;
hvalue = 563;
break;
case SSO._768:
value = 768;
hvalue = 845;
break;
case SSO._1024:
value = 1024;
hvalue = 1127;
break;
case SSO._1280:
value = 1280;
hvalue = 1408;
break;
case SSO._1536:
value = 1536;
hvalue = 1690;
break;
case SSO._2048:
value = 2048;
hvalue = 2253;
break;
case SSO._2560:
value = 2560;
hvalue = 2816;
break;
case SSO._3072:
value = 3072;
hvalue = 3380;
break;
case SSO._1440:
value = 1440;
hvalue = 1584;
break;
case SSO._Go:
value = 1024;
hvalue = 1024;
break;
case SSO._Quest1:
value = 1216;
hvalue = 1344;
break;
case SSO._Quest2:
value = 1440;
hvalue = 1584;
break;
}
this.runAdbCommand('setprop debug.oculus.textureWidth ' + value)
.then(() => this.runAdbCommand('setprop debug.oculus.textureHeight ' + hvalue))
.then(() => this.runAdbCommand('"settings put system font_scale 0.85 && settings put system font_scale 1.0"'))
.then(() => {
this.statusService.showStatus('Texture Resolution set OK!!');
return this.getDoubleString(
'debug.oculus.textureWidth',
'debug.oculus.textureHeight',
'1440',
'1584',
'textureSize'
);
})
.catch(e => this.statusService.showStatus(e, true));
}
setSVB(svb: SVB) {
let value = 5000000;
switch (svb) {
case SVB._5Mbps:
value = 5000000;
break;
case SVB._15Mbps:
value = 15000000;
break;
case SVB._25Mbps:
value = 25000000;
break;
}
this.runAdbCommand('setprop debug.oculus.videoBitrate ' + value)
.then(() => {
this.statusService.showStatus('Video Bitrate set OK!!');
})
.catch(e => this.statusService.showStatus(e, true));
}
setCR(svr: CR) {
let width = 1280;
let height = 720;
switch (svr) {
case CR._480:
width = 640;
height = 480;
break;
case CR._720:
width = 1280;
height = 720;
break;
case CR._1080:
width = 1920;
height = 1080;
break;
case CR._1024:
width = 1024;
height = 1024;
break;
}
this.runAdbCommand('setprop debug.oculus.capture.width ' + width)
.then(() => this.runAdbCommand('setprop debug.oculus.capture.height ' + height))
.then(() => {
this.statusService.showStatus('Capture Resolution set OK!!');
return this.getDoubleString(
'debug.oculus.capture.width',
'debug.oculus.capture.height',
'1024',
'1024',
'videoCaptureSize'
);
})
.catch(e => this.statusService.showStatus(e, true));
}
}
@@ -1,8 +0,0 @@
.button-section{
margin-top: 1em;
margin-bottom: 3em;
}
.side-quest-version{
position:relative;
text-align: right;
}
@@ -1,291 +0,0 @@
<div class="container text-dark-theme">
<div class="side-quest-version">
SideQuest Version: {{appService.versionName}}
</div>
<div class="row">
<div class="col s12">
<div class="section-title text-dark-theme">
SideQuest Folders</div>
<div class="button-section">
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="appService.openFolder(folder.MAIN)">
Open Main App Folder
</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="appService.openFolder(folder.APK_BACKUPS)">
Open APK Backup Folder
</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="appService.openFolder(folder.ADB)">
Open ADB Folder
</div>
</div>
<div class="section-title text-dark-theme">
Proximity Sensor</div>
This disables the proximity sensor effectively keeping your quest awake when not on your head ( requires restart to disable ).
<div class="button-section">
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="disableProximity()">Disable</div>
</div>
<div class="section-title text-dark-theme">
Experimental Mode</div>
This enables experimental features in your Oculus Quest such as Passthrough API support ( requires guardian to be enabled ).
<div class="button-section">
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setExperimental(EXP.On)">On</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setExperimental(EXP.Off)">Off</div>
</div>
<div class="section-title text-dark-theme">
Refresh Rate</div>
This will allow you to change to 90Hz refresh rate for 90fps support in games on Quest 2.<br>
WARNING: This does not work in all games, and does not work with Oculus Link. This setting may also reset to default when you restart your headset. You may need to press the power button twice to turn the screen off and on to enable this setting for apps that dont have it natively enabled.
<div class="button-section">
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setRR(RR._72)">Default</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setRR(RR._60)">60Hz</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setRR(RR._72)">72Hz</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setRR(RR._90)">90Hz</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setRR(RR._120)">120Hz</div>
</div>
<div class="section-title text-dark-theme">
Chromatic Aberration</div>
This will enable/disable chromatic aberration.
<div class="button-section">
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setCa(CA.APP)">Default</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setCa(CA.APP)">App Selected</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setCa(CA.ON)">On</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setCa(CA.OFF)">Off</div>
</div>
<div class="section-title text-dark-theme">
Guardian</div>
This will enable/disable the guardian.
<div class="button-section">
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setGuardian(GU.ON)">ON</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setGuardian(GU.OFF)">OFF</div>
</div>
<div class="section-title text-dark-theme">
Full Rate Capture</div>
This will enable/disable the full rate capture for videos recorded i.e. 60/72fps rather than 30fps.
<div class="button-section">
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFullRate(GU.ON)">ON</div>
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFullRate(GU.OFF)">OFF</div>
</div>
<div class="section-title text-dark-theme">
Paste Text to your device</div>
If there is a text input field focussed on your headset you can paste / type text in here to have SideQuest type
it out on your headset. Good for long passwords you don't want to have to type on a virtual keyboard.
<div class="button-section">
<div class="input-field ">
<input id="devicePaste"
class="input-dark-theme"
[type]="isPassword?'password':'text'" [(ngModel)]="textToSend" />
<label for="devicePaste"
class="label-dark-theme">Text
to Paste</label>
</div>
<div class="switch">
<label>
Text
<input type="checkbox" [(ngModel)]="isPassword" />
<span class="lever"></span>
Password
</label>
</div>
<div class="waves-effect waves-light btn paste-text-button right pink-button" (click)="pasteToDevice()"
[ngClass]="{'waves-dark':true,'waves-light':false}">
Send</div>
</div>
<br><br>
<div class="section-title text-dark-theme">
Set FFR ( Fixed Foveated Rendering ) level
</div>
This will change how the view is rendered in the outer edges of the viewscreen for each eye. Higher is better
performance, lower is better quality. This gets reset when you reboot the device.
<div class="button-section">
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFFR(FFR.MEDIUM)">Default</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFFR(FFR.OFF)">Off</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFFR(FFR.LOW)">Low</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFFR(FFR.MEDIUM)">Medium</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFFR(FFR.HIGH)">High</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setFFR(FFR.HIGH_TOP)">High Top</div>
</div>
<div class="section-title text-dark-theme">
Set Video Capture Size</div>
This changes the resolution of captured videos on the Quest
<div class="button-section">
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setCR(CR._480)">480</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setCR(CR._720)">720</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setCR(CR._1080)">1080</div>
</div>
<div class="section-title text-dark-theme">
Set CPU and GPU level</div>
This can improve performance for 2D apps & games.
<div class="button-section">
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setGPU(GPU._2)">Default</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setGPU(GPU._2)">Level 2</div>
<div class="waves-effect waves-light btn margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setGPU(GPU._4)">Level 4</div>
</div>
<div class="section-title text-dark-theme">
Default Texture Size</div>
This will change how high quality some of the in game textures are rendered at.
<div class="button-section">
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._Go)">Default - Oculus Go</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._Quest1)">Default - Oculus Quest</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._Quest2)">Default - Oculus Quest 2</div><br>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._512)">512</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._768)">768</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._1024)">1024</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._1280)">1280</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._1536)">1536</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._2048)">2048</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._2560)">2560</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._3072)">3072</div>
</div>
<div class="section-title text-dark-theme">
Capture Video Bitrate ( Go Only )</div>
This will increase the quality of captured videos on Oculus Go.
<div class="button-section">
<div class="waves-effect waves-light btn set-svb margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSVB(SVB._5Mbps)">Default</div>
<div class="waves-effect waves-light btn set-svb margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSVB(SVB._5Mbps)">5Mbps</div>
<div class="waves-effect waves-light btn set-svb margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSVB(SVB._15Mbps)">15Mbps</div>
<div class="waves-effect waves-light btn set-svb margin-bottom margin-right pink-button button-dark-theme"
[ngClass]="{'waves-dark':true,'waves-light':false}"
(click)="setSVB(SVB._25Mbps)">25Mbps</div>
</div>
<!-- <div class="section-title" [ngClass]="{'text-dark-theme':appService.currentTheme === 'dark','text-light-theme':appService.currentTheme === 'light'}">Video Recording Resolution ( Go Only )</div>-->
<!-- This will increase the resolution of captured videos on Oculus Go.-->
<!-- <div class="button-section">-->
<!-- <div class="waves-effect waves-light btn set-svr margin-bottom margin-right pink-button"-->
<!-- [ngClass]="{'waves-dark':true,'waves-light':false}" (click)="setSVR(SVR._1024)">Default</div>-->
<!-- <div class="waves-effect waves-light btn set-svr margin-bottom margin-right pink-button"-->
<!-- [ngClass]="{'waves-dark':true,'waves-light':false}" (click)="setSVR(SVR._1024)">1024</div>-->
<!-- <div class="waves-effect waves-light btn set-svr margin-bottom margin-right pink-button"-->
<!-- [ngClass]="{'waves-dark':true,'waves-light':false}" (click)="setSVR(SVR._1536)">1536</div>-->
<!-- </div>-->
<!-- <div class="section-title" [ngClass]="{'text-dark-theme':appService.currentTheme === 'dark','text-light-theme':appService.currentTheme === 'light'}">Destroy The World</div>-->
<!-- Click this to release all the goblins and endanger the future of humanity. Do not do this!-->
<!-- <div class="button-section">-->
<!-- <div class="switch">-->
<!-- <label>-->
<!-- Bad-->
<!-- <input type="checkbox" [(ngModel)]="appService.hideNSFW" (change)="setHideNSFW()"/>-->
<!-- <span class="lever"></span>-->
<!-- Safe-->
<!-- </label>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
</div>
<!--<mz-modal #changePavlov [fixedFooter]="true">-->
<!-- <mz-modal-header>-->
<!-- <h4>Change Pavlov Name</h4>-->
<!-- </mz-modal-header>-->
<!-- <mz-modal-content>-->
<!-- Enter a name to set in Pavlov-->
<!-- <br />-->
<!-- <div class="input-field repo-url">-->
<!-- <input id="repoUrl" type="text" [(ngModel)]="pavlovName" />-->
<!-- <label for="repoUrl">Name</label>-->
<!-- </div>-->
<!-- </mz-modal-content>-->
<!-- <mz-modal-footer>-->
<!-- <button mz-button [flat]="true" mz-modal-close>Close</button>-->
<!-- <button mz-button class="pink-button" mz-modal-close (click)="setPavlovName()">Save</button>-->
<!-- </mz-modal-footer>-->
<!--</mz-modal>-->
@@ -1,25 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ToolsComponent } from './tools.component';
describe('ToolsComponent', () => {
let component: ToolsComponent;
let fixture: ComponentFixture<ToolsComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ToolsComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ToolsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,376 +0,0 @@
import { Component, OnInit } from '@angular/core';
import { AppService, FolderType } from '../app.service';
import { AdbClientService } from '../adb-client.service';
import { LoadingSpinnerService } from '../loading-spinner.service';
import { StatusBarService } from '../status-bar.service';
enum FFR {
OFF,
LOW,
MEDIUM,
HIGH,
HIGH_TOP,
}
enum GPU {
_2,
_4,
}
enum EXP {
Off,
On,
}
enum GU {
ON,
OFF,
}
enum CA {
APP,
OFF,
ON,
}
enum SSO {
_512,
_768,
_1024,
_1280,
_1536,
_2048,
_2560,
_3072,
_1440,
_Go,
_Quest1,
_Quest2,
}
enum SVR {
_1024,
_1536,
}
enum CR {
_480,
_720,
_1080,
}
enum SVB {
_5Mbps,
_15Mbps,
_25Mbps,
}
enum RR {
_60,
_72,
_90,
_120,
}
@Component({
selector: 'app-tools',
templateUrl: './tools.component.html',
styleUrls: ['./tools.component.css'],
})
export class ToolsComponent implements OnInit {
folder = FolderType;
isPassword: boolean;
textToSend: string;
_textToSend: string[];
FFR = FFR;
SVR = SVR;
SVB = SVB;
SSO = SSO;
GU = GU;
CA = CA;
CR = CR;
GPU = GPU;
FR = GU;
RR = RR;
EXP = EXP;
pavlovName;
constructor(
public appService: AppService,
public adbService: AdbClientService,
private spinnerService: LoadingSpinnerService,
private statusService: StatusBarService
) {
this.appService.resetTop();
appService.webService.isWebviewOpen = false;
appService.isSettingsOpen = true;
}
ngOnInit() {
this.appService.setTitle('Device Settings & Tools');
}
setFFR(ffr: FFR) {
let value: number = 0;
switch (ffr) {
case FFR.LOW:
value = 1;
break;
case FFR.MEDIUM:
value = 2;
break;
case FFR.HIGH:
value = 3;
break;
case FFR.HIGH_TOP:
value = 4;
break;
}
this.runAdbCommand('adb shell setprop debug.oculus.foveation.level ' + value)
.then(() => {
this.statusService.showStatus('Fixed Foveated Rendering set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
disableProximity() {
this.runAdbCommand('adb shell am broadcast -a com.oculus.vrpowermanager.prox_close')
.then(() => {
this.statusService.showStatus('Disable proximity message sent OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
runAdbCommand(command: string) {
return this.adbService.runAdbCommand(command);
}
setExperimental(exp: EXP) {
this.runAdbCommand('adb shell setprop debug.oculus.experimentalEnabled ' + exp)
.then(() => {
this.statusService.showStatus('Experimental Mode set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setGPU(gpu: GPU) {
let value = gpu === GPU._2 ? 2 : 4;
this.runAdbCommand('adb shell setprop debug.oculus.cpuLevel ' + value)
.then(() => this.runAdbCommand('adb shell setprop debug.oculus.gpuLevel ' + value))
.then(() => {
this.statusService.showStatus('CPU/GPU level set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setFullRate(fullRate: GU) {
this.runAdbCommand('adb shell setprop debug.oculus.fullRateCapture ' + (fullRate === GU.ON ? 1 : 0))
.then(() => {
this.statusService.showStatus('Full Rate Capture set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setGuardian(guardian: GU) {
this.runAdbCommand('adb shell setprop debug.oculus.guardian_pause ' + (guardian === GU.ON ? 1 : 0))
.then(() => {
this.statusService.showStatus('Guardian pause set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setCa(ca: CA) {
this.runAdbCommand('adb shell setprop debug.oculus.forceChroma ' + (ca === CA.ON ? 1 : ca === CA.APP ? -1 : 0))
.then(() => {
this.statusService.showStatus('Chromatic Aberration set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setRR(rr: RR) {
let value = 72;
switch (rr) {
case RR._60:
value = 60;
break;
case RR._72:
value = 72;
break;
case RR._90:
value = 90;
break;
case RR._120:
value = 120;
break;
}
this.runAdbCommand('adb shell setprop debug.oculus.refreshRate ' + value)
.then(() => {
this.statusService.showStatus('Refresh Rate set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setSSO(sso: SSO) {
let value = 1440;
let hvalue = 1584;
switch (sso) {
case SSO._512:
value = 512;
hvalue = 563;
break;
case SSO._768:
value = 768;
hvalue = 845;
break;
case SSO._1024:
value = 1024;
hvalue = 1127;
break;
case SSO._1280:
value = 1280;
hvalue = 1408;
break;
case SSO._1536:
value = 1536;
hvalue = 1690;
break;
case SSO._2048:
value = 2048;
hvalue = 2253;
break;
case SSO._2560:
value = 2560;
hvalue = 2816;
break;
case SSO._3072:
value = 3072;
hvalue = 3380;
break;
case SSO._1440:
value = 1440;
hvalue = 1584;
break;
case SSO._Go:
value = 1024;
hvalue = 1024;
break;
case SSO._Quest1:
value = 1216;
hvalue = 1344;
break;
case SSO._Quest2:
value = 1440;
hvalue = 1584;
break;
}
this.runAdbCommand('adb shell setprop debug.oculus.textureWidth ' + value)
.then(() => this.runAdbCommand('adb shell setprop debug.oculus.textureHeight ' + hvalue))
.then(() => this.runAdbCommand('adb shell "settings put system font_scale 0.85 && settings put system font_scale 1.0"'))
.then(() => {
this.statusService.showStatus('Texture Resolution set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setSVB(svb: SVB) {
let value: number = 5000000;
switch (svb) {
case SVB._5Mbps:
value = 5000000;
break;
case SVB._15Mbps:
value = 15000000;
break;
case SVB._25Mbps:
value = 25000000;
break;
}
this.runAdbCommand('adb shell setprop debug.oculus.videoBitrate ' + value)
.then(() => {
this.statusService.showStatus('Video Bitrate set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setCR(svr: CR) {
let width: number = 1280;
let height: number = 720;
switch (svr) {
case CR._480:
width = 640;
height = 480;
break;
case CR._720:
width = 1280;
height = 720;
break;
case CR._1080:
width = 1920;
height = 1080;
break;
}
this.runAdbCommand('adb shell setprop debug.oculus.capture.width ' + width)
.then(() => this.runAdbCommand('adb shell setprop debug.oculus.capture.height ' + height))
.then(() => {
this.statusService.showStatus('Capture Resolution set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setSVR(svr: SVR) {
let value: number = 1024;
switch (svr) {
case SVR._1024:
value = 1024;
break;
case SVR._1536:
value = 1536;
break;
}
this.runAdbCommand('adb shell setprop debug.oculus.videoResolution ' + value)
.then(() => {
this.statusService.showStatus('Video Resolution set OK!!');
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
setPavlovPermission() {
return this.adbService
.setPermission('com.vankrupt.pavlov', 'android.permission.RECORD_AUDIO')
.then(() => this.adbService.setPermission('com.vankrupt.pavlov', 'android.permission.READ_EXTERNAL_STORAGE'))
.then(() => this.adbService.setPermission('com.vankrupt.pavlov', 'android.permission.WRITE_EXTERNAL_STORAGE'));
}
setPavlovName() {
this.adbService
.adbCommand('shell', {
serial: this.adbService.deviceSerial,
command: 'echo ' + this.pavlovName + ' > /sdcard/pavlov.name.txt',
})
.catch(e => {
this.statusService.showStatus(e, true);
});
}
pasteToDevice() {
this._textToSend = this.textToSend.split('');
this.textToSend = '';
this.spinnerService.setMessage('Setting Text...');
this.spinnerService.showLoader();
this.inputCharacters()
.then(() => {
this.statusService.showStatus('Text sent to the device!!');
this.spinnerService.hideLoader();
})
.catch(e => {
this.statusService.showStatus(e.toString(), true);
this.spinnerService.hideLoader();
});
}
inputCharacters() {
let character = this._textToSend.shift();
return this.runAdbCommand('adb shell input text "' + character + '"').then(() => {
if (this._textToSend.length) {
return this.inputCharacters();
}
});
}
}
+562 -2
View File
@@ -5,8 +5,11 @@ body {
height: 100%;
padding: 0;
margin: 0;
background: transparent;
overflow: hidden;
background:#0c0c0c;
}
body{
overflow-x: hidden;
}
@keyframes spin {
0% {
@@ -210,3 +213,560 @@ code > pre, .code{
.modal-fixed-footer{
overflow: hidden!important;
}
/*Forms*/
.pure-material-button-contained {
-webkit-app-region: no-drag;
position: relative;
display: inline-block;
box-sizing: border-box;
border: none;
padding: 0 16px;
min-width: 64px;
height: 36px;
vertical-align: middle;
text-align: center;
text-overflow: ellipsis;
text-transform: uppercase;
color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
background: #E51253;
border-radius: 10px;
box-shadow: 0 3px 1px -1px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
font-size: 14px;
font-weight: 400;
line-height: 36px;
overflow: hidden;
outline: none;
cursor: pointer;
transition: box-shadow 0.2s;
}
.pure-material-button-contained.reset{
background: #fc864e;
}
.pure-material-button-contained::-moz-focus-inner {
border: none;
}
.pure-material-button-contained.spaced{
margin-bottom: 5px;
margin-right: 5px;
}
.pure-material-button-contained.slim{
padding: 5px 10px;
height: 25px;
line-height: 20px;
}
.pure-material-button-contained.tiny{
min-width: 20px;
}
.pure-material-button-contained.flat{
background: transparent;
border: 2px solid #afafaf;
color: #afafaf;
height: 40px;
}
.pure-material-button-contained.small{
padding: 0 8px;
height: 20px;
line-height: 16px;
}
.pure-material-button-contained.flat.active{
border: 2px solid white;
color: white;
}
/* Overlay */
.pure-material-button-contained::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
opacity: 0;
transition: opacity 0.2s;
}
/* Ripple */
.pure-material-button-contained::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
border-radius: 50%;
padding: 50%;
width: 32px; /* Safari */
height: 32px; /* Safari */
background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
opacity: 0;
transform: translate(-50%, -50%) scale(1);
transition: opacity 1s, transform 0.5s;
}
/* Hover, Focus */
.pure-material-button-contained:hover,
.pure-material-button-contained:focus {
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}
.pure-material-button-contained:hover::before {
opacity: 0.08;
}
.pure-material-button-contained:focus::before {
opacity: 0.24;
}
.pure-material-button-contained:hover:focus::before {
opacity: 0.3;
}
/* Active */
.pure-material-button-contained:active {
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
.pure-material-button-contained:active::after {
opacity: 0.32;
transform: translate(-50%, -50%) scale(0);
transition: transform 0s;
}
/* Disabled */
.pure-material-button-contained:disabled {
color: rgba(var(--pure-material-onsurface-rgb, 255,255,255), 0.38);
background-color: rgba(var(--pure-material-onsurface-rgb, 255,255,255), 0.20);
box-shadow: none;
cursor: initial;
}
.pure-material-button-contained:disabled::before {
opacity: 0;
}
.pure-material-button-contained:disabled::after {
opacity: 0;
}
/* Checkboxes
========================================================================== */
/* Remove default checkbox */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
position: absolute;
opacity: 0;
pointer-events: none;
}
// Checkbox Styles
[type="checkbox"] {
// Text Label Style
+ span:not(.lever) {
position: relative;
padding-left: 35px;
cursor: pointer;
display: inline-block;
height: 25px;
line-height: 25px;
font-size: 1rem;
user-select: none;
}
/* checkbox aspect */
+ span:not(.lever):before,
&:not(.filled-in) + span:not(.lever):after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 18px;
height: 18px;
z-index: 0;
border: 2px solid #afafaf;
border-radius: 1px;
margin-top: 3px;
transition: .2s;
}
&:not(.filled-in) + span:not(.lever):after {
border: 0;
transform: scale(0);
}
&:not(:checked):disabled + span:not(.lever):before {
border: none;
background-color: #bfbfbf;
}
// Focused styles
&.tabbed:focus + span:not(.lever):after {
transform: scale(1);
border: 0;
border-radius: 50%;
box-shadow: 0 0 0 10px rgba(0,0,0,.1);
background-color: rgba(0,0,0,.1);
}
}
[type="checkbox"]:checked {
+ span:not(.lever):before {
top: -4px;
left: -5px;
width: 12px;
height: 22px;
border-top: 2px solid transparent;
border-left: 2px solid transparent;
border-right: 2px solid #0fb7a9;
border-bottom: 2px solid #0fb7a9;
transform: rotate(40deg);
backface-visibility: hidden;
transform-origin: 100% 100%;
}
&:disabled + span:before {
border-right: 2px solid #bfbfbf;
border-bottom: 2px solid #bfbfbf;
}
}
/* Indeterminate checkbox */
[type="checkbox"]:indeterminate {
+ span:not(.lever):before {
top: -11px;
left: -12px;
width: 10px;
height: 22px;
border-top: none;
border-left: none;
border-right: 2px solid #0fb7a9;
border-bottom: none;
transform: rotate(90deg);
backface-visibility: hidden;
transform-origin: 100% 100%;
}
// Disabled indeterminate
&:disabled + span:not(.lever):before {
border-right: 2px solid #bfbfbf;
background-color: transparent;
}
}
// Filled in Style
[type="checkbox"].filled-in {
// General
+ span:not(.lever):after {
border-radius: 2px;
}
+ span:not(.lever):before,
+ span:not(.lever):after {
content: '';
left: 0;
position: absolute;
/* .1s delay is for check animation */
transition: border .75s, background-color .75s, width .70s .1s, height .70s .1s, top .70s .1s, left .70s .1s;
z-index: 1;
}
// Unchecked style
&:not(:checked) + span:not(.lever):before {
width: 0;
height: 0;
border: 3px solid transparent;
left: 6px;
top: 10px;
transform: rotateZ(37deg);
transform-origin: 100% 100%;
}
&:not(:checked) + span:not(.lever):after {
height: 20px;
width: 20px;
background-color: transparent;
border: 2px solid #cfcfcf;
top: 0px;
z-index: 0;
}
// Checked style
&:checked {
+ span:not(.lever):before {
top: 0;
left: 1px;
width: 8px;
height: 13px;
border-top: 2px solid transparent;
border-left: 2px solid transparent;
border-right: 2px solid #bfbfbf;
border-bottom: 2px solid #bfbfbf;
transform: rotateZ(37deg);
transform-origin: 100% 100%;
}
+ span:not(.lever):after {
top: 0;
width: 20px;
height: 20px;
border: 2px solid #0fb7a9;
background-color: #0fb7a9;
z-index: 0;
}
}
// Focused styles
&.tabbed:focus + span:not(.lever):after {
border-radius: 2px;
border-color: #cfcfcf;
background-color: rgba(0,0,0,.1);
}
&.tabbed:checked:focus + span:not(.lever):after {
border-radius: 2px;
background-color: #0fb7a9;
border-color: #0fb7a9;
}
// Disabled style
&:disabled:not(:checked) + span:not(.lever):before {
background-color: transparent;
border: 2px solid transparent;
}
&:disabled:not(:checked) + span:not(.lever):after {
border-color: transparent;
background-color: #afafaf;
}
&:disabled:checked + span:not(.lever):before {
background-color: transparent;
}
&:disabled:checked + span:not(.lever):after {
background-color: #afafaf;
border-color: #afafaf;
}
}
.switch,
.switch * {
-webkit-tap-highlight-color: transparent;
user-select: none;
}
.switch label {
cursor: pointer;
}
.switch label input[type=checkbox] {
opacity: 0;
width: 0;
height: 0;
&:checked + .lever {
background-color: #E51253;
&:before, &:after {
left: 18px;
}
&:after {
background-color: #f3f3f3;
}
}
}
.switch label .lever {
content: "";
display: inline-block;
position: relative;
width: 36px;
height: 14px;
background-color: #afafaf;
border-radius: 10px;
margin-right: 10px;
transition: background 0.3s ease;
vertical-align: middle;
margin: 0 16px;
&:before, &:after {
content: "";
position: absolute;
display: inline-block;
width: 20px;
height: 20px;
border-radius: 50%;
left: 0;
top: -3px;
transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
}
&:before {
background-color: transparentize(#E51253, .85);
}
&:after {
background-color: #afafaf;
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
}
// Switch active style
input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,
input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before {
transform: scale(2.4);
background-color: transparentize(#E51253, .85);
}
input[type=checkbox]:not(:disabled) ~ .lever:active:before,
input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before {
transform: scale(2.4);
background-color: rgba(0,0,0,.08);
}
// Disabled Styles
.switch input[type=checkbox][disabled] + .lever {
cursor: default;
background-color: rgba(0,0,0,.12);
}
.switch label input[type=checkbox][disabled] + .lever:after,
.switch label input[type=checkbox][disabled]:checked + .lever:after {
background-color: #afafaf;
}
// Remove default Radio Buttons
[type="radio"]:not(:checked),
[type="radio"]:checked {
position: absolute;
opacity: 0;
pointer-events: none;
}
[type="radio"]:not(:checked) + span,
[type="radio"]:checked + span {
position: relative;
padding-left: 35px;
cursor: pointer;
display: inline-block;
height: 25px;
line-height: 25px;
font-size: 1rem;
transition: .28s ease;
user-select: none;
}
[type="radio"] + span:before,
[type="radio"] + span:after {
content: '';
position: absolute;
left: 0;
top: 0;
margin: 4px;
width: 16px;
height: 16px;
z-index: 0;
transition: .28s ease;
}
/* Unchecked styles */
[type="radio"]:not(:checked) + span:before,
[type="radio"]:not(:checked) + span:after,
[type="radio"]:checked + span:before,
[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:before,
[type="radio"].with-gap:checked + span:after {
border-radius: 50%;
}
[type="radio"]:not(:checked) + span:before,
[type="radio"]:not(:checked) + span:after {
border: 2px solid #cfcfcf;
}
[type="radio"]:not(:checked) + span:after {
transform: scale(0);
}
/* Checked styles */
[type="radio"]:checked + span:before {
border: 2px solid transparent;
}
[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:before,
[type="radio"].with-gap:checked + span:after {
border: #E51253;
}
[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:after {
background-color: #E51253;
}
[type="radio"]:checked + span:after {
transform: scale(1.02);
}
/* Radio With gap */
[type="radio"].with-gap:checked + span:after {
transform: scale(.5);
}
/* Focused styles */
[type="radio"].tabbed:focus + span:before {
box-shadow: 0 0 0 10px rgba(0,0,0,.1);
}
/* Disabled Radio With gap */
[type="radio"].with-gap:disabled:checked + span:before {
border: 2px solid #afafaf;
}
[type="radio"].with-gap:disabled:checked + span:after {
border: none;
background-color: #afafaf;
}
/* Disabled style */
[type="radio"]:disabled:not(:checked) + span:before,
[type="radio"]:disabled:checked + span:before {
background-color: transparent;
border-color: #afafaf;
}
[type="radio"]:disabled + span {
color: #afafaf;
}
[type="radio"]:disabled:not(:checked) + span:before {
border-color: #afafaf;
}
[type="radio"]:disabled:checked + span:after {
background-color: #afafaf;
border-color: #8f8f8f;
}
+1
View File
@@ -17,6 +17,7 @@ const request = require('request');
const progress = require('request-progress');
//without this, there's a bug in electron that makes facebook pages ruin everything, see https://github.com/electron/electron/issues/25469
app.commandLine.appendSwitch('disable-features', 'CrossOriginOpenerPolicy');
app.allowRendererProcessReuse = false;
// const Readable = require('stream').Readable;
import { SetPropertiesCommand } from './setproperties';
-1
View File
@@ -57,7 +57,6 @@ export class AppWindow {
minWidth: 800,
minHeight: 480,
show: !showAfterSetup,
frame: false,
webPreferences: {
webviewTag: true,
nodeIntegration: true,
+1
View File
@@ -102,6 +102,7 @@
"cross-env": "^5.2.0",
"crypto": "^1.0.1",
"electron-updater": "^4.3.7",
"usb-detection2": "git+https://github.com/SideQuestVR/node-usb-detection.git",
"express": "^4.17.1",
"extract-zip": "^1.6.7",
"md5": "^2.2.1",
+236 -18
View File
@@ -462,11 +462,19 @@ app-builder-lib@22.10.5:
semver "^7.3.4"
temp-file "^3.3.7"
aproba@^1.1.1:
aproba@^1.0.3, aproba@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==
are-we-there-yet@~1.1.2:
version "1.1.7"
resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146"
integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==
dependencies:
delegates "^1.0.0"
readable-stream "^2.0.6"
argparse@^1.0.7:
version "1.0.10"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
@@ -597,6 +605,13 @@ binaryextensions@^4.18.0:
resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-4.18.0.tgz#22aeada2d14de062c60e8ca59a504a5636a76ceb"
integrity sha512-PQu3Kyv9dM4FnwB7XGj1+HucW+ShvJzJqjuw1JkKVs1mWdwOKVcRjOi+pV9X52A0tNvrPCsPkbFFQb+wE1EAXw==
bindings@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
dependencies:
file-uri-to-path "1.0.0"
bl@^1.0.0:
version "1.2.3"
resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.3.tgz#1e8dd80142eac80d7158c9dccc047fb620e035e7"
@@ -605,6 +620,15 @@ bl@^1.0.0:
readable-stream "^2.3.5"
safe-buffer "^5.1.1"
bl@^4.0.3:
version "4.1.0"
resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a"
integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==
dependencies:
buffer "^5.5.0"
inherits "^2.0.4"
readable-stream "^3.4.0"
bluebird-lst@^1.0.9:
version "1.0.9"
resolved "https://registry.yarnpkg.com/bluebird-lst/-/bluebird-lst-1.0.9.tgz#a64a0e4365658b9ab5fe875eb9dfb694189bb41c"
@@ -705,7 +729,7 @@ buffer-from@^1.0.0:
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
buffer@^5.1.0:
buffer@^5.1.0, buffer@^5.5.0:
version "5.7.1"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
@@ -1040,6 +1064,11 @@ configstore@^5.0.1:
write-file-atomic "^3.0.0"
xdg-basedir "^4.0.0"
console-control-strings@^1.0.0, console-control-strings@~1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==
content-disposition@0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd"
@@ -1224,6 +1253,13 @@ decompress-response@^3.3.0:
dependencies:
mimic-response "^1.0.0"
decompress-response@^4.2.0:
version "4.2.1"
resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-4.2.1.tgz#414023cc7a302da25ce2ec82d0d5238ccafd8986"
integrity sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==
dependencies:
mimic-response "^2.0.0"
deep-extend@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
@@ -1246,6 +1282,11 @@ delayed-stream@~1.0.0:
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
delegates@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==
depd@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
@@ -1256,6 +1297,11 @@ destroy@~1.0.4:
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
detect-libc@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==
detect-node@^2.0.4:
version "2.1.0"
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1"
@@ -1456,7 +1502,7 @@ encoding@^0.1.11:
dependencies:
iconv-lite "^0.6.2"
end-of-stream@^1.0.0, end-of-stream@^1.1.0:
end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1:
version "1.4.4"
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
@@ -1583,6 +1629,11 @@ etag@~1.8.1:
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
eventemitter2@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-5.0.1.tgz#6197a095d5fb6b57e8942f6fd7eaad63a09c9452"
integrity sha512-5EM1GHXycJBS6mauYAbVKT1cVs7POKWb2NXD4Vyt8dDqeZa7LaDK1/sjtL+Zb0lzTpSNil4596Dyu97hz37QLg==
execa@^0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da"
@@ -1609,6 +1660,11 @@ execa@^1.0.0:
signal-exit "^3.0.0"
strip-eof "^1.0.0"
expand-template@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c"
integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==
express@^4.17.1:
version "4.17.1"
resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134"
@@ -1713,6 +1769,11 @@ figures@^3.0.0:
dependencies:
escape-string-regexp "^1.0.5"
file-uri-to-path@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==
filelist@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.2.tgz#80202f21462d4d1c2e214119b1807c1bc0380e5b"
@@ -1862,6 +1923,20 @@ function-bind@^1.1.1:
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
gauge@~2.7.3:
version "2.7.4"
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
integrity sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==
dependencies:
aproba "^1.0.3"
console-control-strings "^1.0.0"
has-unicode "^2.0.0"
object-assign "^4.1.0"
signal-exit "^3.0.0"
string-width "^1.0.1"
strip-ansi "^3.0.1"
wide-align "^1.1.0"
genfun@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537"
@@ -1925,6 +2000,11 @@ getpass@^0.1.1:
dependencies:
assert-plus "^1.0.0"
github-from-package@0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce"
integrity sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==
glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
version "7.2.0"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
@@ -2046,6 +2126,11 @@ has-tostringtag@^1.0.0:
dependencies:
has-symbols "^1.0.2"
has-unicode@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==
has-yarn@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77"
@@ -2232,7 +2317,7 @@ inflight@^1.0.4:
once "^1.3.0"
wrappy "1"
inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3:
inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3:
version "2.0.4"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
@@ -2836,6 +2921,11 @@ mimic-response@^1.0.0, mimic-response@^1.0.1:
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b"
integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==
mimic-response@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43"
integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==
minimatch@3.0.4, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
@@ -2848,6 +2938,11 @@ minimist@^1.2.0, minimist@^1.2.5:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
minimist@^1.2.3:
version "1.2.6"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44"
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==
minipass@^2.3.5, minipass@^2.6.0, minipass@^2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6"
@@ -2879,6 +2974,11 @@ mississippi@^3.0.0:
stream-each "^1.1.0"
through2 "^2.0.0"
mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==
mkdirp@^0.5.1, mkdirp@^0.5.4, mkdirp@^0.5.5:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
@@ -2943,6 +3043,16 @@ mute-stream@0.0.8:
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
nan@^2.15.0:
version "2.16.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.16.0.tgz#664f43e45460fb98faf00edca0bb0d7b8dce7916"
integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==
napi-build-utils@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806"
integrity sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==
negotiator@0.6.2:
version "0.6.2"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
@@ -2953,6 +3063,13 @@ nice-try@^1.0.4:
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
node-abi@^2.21.0:
version "2.30.1"
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.30.1.tgz#c437d4b1fe0e285aaf290d45b45d4d7afedac4cf"
integrity sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==
dependencies:
semver "^5.4.1"
node-addon-api@^1.6.3:
version "1.7.2"
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-1.7.2.tgz#3df30b95720b53c24e59948b49532b662444f54d"
@@ -3089,6 +3206,16 @@ npm-run-path@^2.0.0:
dependencies:
path-key "^2.0.0"
npmlog@^4.0.1:
version "4.1.2"
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
dependencies:
are-we-there-yet "~1.1.2"
console-control-strings "~1.1.0"
gauge "~2.7.3"
set-blocking "~2.0.0"
number-is-nan@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
@@ -3099,6 +3226,11 @@ oauth-sign@~0.9.0:
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==
object-assign@^4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
object-inspect@^1.11.0, object-inspect@^1.9.0:
version "1.11.0"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1"
@@ -3416,6 +3548,25 @@ plist@^3.0.1:
base64-js "^1.5.1"
xmlbuilder "^9.0.7"
prebuild-install@^6.1.4:
version "6.1.4"
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.4.tgz#ae3c0142ad611d58570b89af4986088a4937e00f"
integrity sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ==
dependencies:
detect-libc "^1.0.3"
expand-template "^2.0.3"
github-from-package "0.0.0"
minimist "^1.2.3"
mkdirp-classic "^0.5.3"
napi-build-utils "^1.0.1"
node-abi "^2.21.0"
npmlog "^4.0.1"
pump "^3.0.0"
rc "^1.2.7"
simple-get "^3.0.3"
tar-fs "^2.0.0"
tunnel-agent "^0.6.0"
prepend-http@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
@@ -3571,7 +3722,7 @@ raw-body@2.4.0:
iconv-lite "0.4.24"
unpipe "1.0.0"
rc@^1.2.8:
rc@^1.2.7, rc@^1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
@@ -3630,7 +3781,7 @@ read-pkg@^5.1.1:
parse-json "^5.0.0"
type-fest "^0.6.0"
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6:
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6:
version "2.3.7"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
@@ -3643,6 +3794,15 @@ read-pkg@^5.1.1:
string_decoder "~1.1.1"
util-deprecate "~1.0.1"
readable-stream@^3.1.1, readable-stream@^3.4.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
dependencies:
inherits "^2.0.3"
string_decoder "^1.1.1"
util-deprecate "^1.0.1"
readdir-scoped-modules@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
@@ -3810,7 +3970,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1:
safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0:
version "5.2.1"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
@@ -3904,7 +4064,7 @@ serve-static@1.14.1:
parseurl "~1.3.3"
send "0.17.1"
set-blocking@^2.0.0:
set-blocking@^2.0.0, set-blocking@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
@@ -3952,6 +4112,20 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f"
integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==
simple-concat@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.1.tgz#f46976082ba35c2263f1c8ab5edfe26c41c9552f"
integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==
simple-get@^3.0.3:
version "3.1.1"
resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-3.1.1.tgz#cc7ba77cfbe761036fbfce3d021af25fc5584d55"
integrity sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==
dependencies:
decompress-response "^4.2.0"
once "^1.3.1"
simple-concat "^1.0.0"
slash@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
@@ -4110,15 +4284,7 @@ string-width@^1.0.1:
is-fullwidth-code-point "^1.0.0"
strip-ansi "^3.0.0"
string-width@^2.0.0, string-width@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
dependencies:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2:
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -4127,6 +4293,14 @@ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"
string-width@^2.0.0, string-width@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
dependencies:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
string.prototype.trimend@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80"
@@ -4143,6 +4317,13 @@ string.prototype.trimstart@^1.0.4:
call-bind "^1.0.2"
define-properties "^1.1.3"
string_decoder@^1.1.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
dependencies:
safe-buffer "~5.2.0"
string_decoder@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
@@ -4236,6 +4417,16 @@ tar-fs@^1.8.1:
pump "^1.0.0"
tar-stream "^1.1.2"
tar-fs@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784"
integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==
dependencies:
chownr "^1.1.1"
mkdirp-classic "^0.5.2"
pump "^3.0.0"
tar-stream "^2.1.4"
tar-stream@^1.1.2:
version "1.6.2"
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555"
@@ -4249,6 +4440,17 @@ tar-stream@^1.1.2:
to-buffer "^1.1.1"
xtend "^4.0.0"
tar-stream@^2.1.4:
version "2.2.0"
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287"
integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==
dependencies:
bl "^4.0.3"
end-of-stream "^1.4.1"
fs-constants "^1.0.0"
inherits "^2.0.3"
readable-stream "^3.1.1"
tar@^4.4.8:
version "4.4.19"
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3"
@@ -4521,12 +4723,21 @@ url-parse-lax@^3.0.0:
dependencies:
prepend-http "^2.0.0"
"usb-detection2@git+https://github.com/SideQuestVR/node-usb-detection.git":
version "4.13.0"
resolved "git+https://github.com/SideQuestVR/node-usb-detection.git#1d79234814cb9fbac1acfce1c9e725e436dab47c"
dependencies:
bindings "^1.5.0"
eventemitter2 "^5.0.1"
nan "^2.15.0"
prebuild-install "^6.1.4"
utf8-byte-length@^1.0.1:
version "1.0.4"
resolved "https://registry.yarnpkg.com/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz#f45f150c4c66eee968186505ab93fcbb8ad6bf61"
integrity sha1-9F8VDExm7uloGGUFq5P8u4rWv2E=
util-deprecate@~1.0.1:
util-deprecate@^1.0.1, util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
@@ -4618,6 +4829,13 @@ which@^2.0.1:
dependencies:
isexe "^2.0.0"
wide-align@^1.1.0:
version "1.1.5"
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3"
integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==
dependencies:
string-width "^1.0.2 || 2 || 3 || 4"
widest-line@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca"