File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,17 @@ export class PreloadState extends GameState {
97
97
98
98
startLoading ( ) {
99
99
this . setStatus ( "Booting" )
100
-
100
+ . then ( ( ) => {
101
+ try {
102
+ window . localStorage . setItem ( "local_storage_feature_detection" , "1" ) ;
103
+ } catch ( ex ) {
104
+ throw new Error (
105
+ "Could not access local storage. Make sure you are not playing in incognito mode and allow thirdparty cookies!"
106
+ ) ;
107
+ }
108
+ } )
101
109
. then ( ( ) => this . setStatus ( "Creating platform wrapper" , 3 ) )
110
+
102
111
. then ( ( ) => this . sendBeacon ( ) )
103
112
. then ( ( ) => authorizeViaSSOToken ( this . app , this . dialogs ) )
104
113
@@ -345,12 +354,6 @@ export class PreloadState extends GameState {
345
354
${ this . currentStatus } failed:<br/>
346
355
${ text }
347
356
</div>
348
-
349
- <div class="supportHelp">
350
- Please send me an email with steps to reproduce and what you did before this happened:
351
- <br /><a class="email" href="mailto:${ email } ?subject=App%20does%20not%20launch">${ email } </a>
352
- </div>
353
-
354
357
<div class="lower">
355
358
<button class="resetApp styledButton">Reset App</button>
356
359
<i>Build ${ G_BUILD_VERSION } @ ${ G_BUILD_COMMIT_HASH } </i>
You can’t perform that action at this time.
0 commit comments