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
constresult=awaitPromise.race([getFirefoxSnap(binary),createTimeoutPromise(30000,'Timed out after 30 seconds checking if Firefox is a snap')])asPromise<boolean>
25
25
26
-
// if the bin path or what it's symlinked to start with `/snap/bin`, it's a snap
@@ -89,7 +95,7 @@ async function getLinuxBrowser (
89
95
return
90
96
}
91
97
92
-
if(name==='firefox'&&(awaitPromise.race([isFirefoxSnap(binary),createTimeoutPromise(30000,'Timed out after 30 seconds checking if Firefox is a snap')]))){
98
+
if(name==='firefox'&&awaitisFirefoxSnap(binary)){
93
99
// if the binary in the path points to a script that calls the snap, set a snap-specific profile path
0 commit comments