You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mbf-site/src/App.tsx
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,8 @@ async function connect(
39
39
40
40
connection=awaitquest.connect();
41
41
}catch(err){
42
-
if(String(err).includes("Unable to claim interface")){
42
+
if(String(err).includes("The device is already in used")){
43
+
Log.warn("Full interface error: "+err);
43
44
// Some other ADB daemon is hogging the connection, so we can't get to the Quest.
44
45
return"DeviceInUse";
45
46
}else{
@@ -159,7 +160,9 @@ function ChooseDevice() {
159
160
<ErrorModalisVisible={connectError!=null}
160
161
title="Failed to connect to device"
161
162
description={connectError}
162
-
onClose={()=>setConnectError(null)}/>
163
+
onClose={()=>setConnectError(null)}>
164
+
<AskLaurie/>
165
+
</ErrorModal>
163
166
164
167
<ErrorModalisVisible={deviceInUse}
165
168
onClose={()=>setDeviceInUse(false)}
@@ -171,6 +174,13 @@ function ChooseDevice() {
171
174
}
172
175
}
173
176
177
+
178
+
// I might regret this
179
+
functionAskLaurie(){
180
+
return<p>If you can't fix the issue, PLEASE hit up <code>Lauriethefish</code> on Discord for further support. We're working on fixing connection/driver issues
181
+
right now and can only do so with <i>your help!</i></p>
182
+
}
183
+
174
184
functionDeviceInUse(){
175
185
return<>
176
186
<p>Some other app is trying to access your Quest, e.g. SideQuest.</p>
@@ -179,6 +189,8 @@ function DeviceInUse() {
179
189
<p>To fix this, close SideQuest if you have it open, press <spanclassName="codeBox">Win + R</span> and type the following text, and finally press enter.</p>
0 commit comments