|
|
@ -285,21 +285,11 @@ export class PreloadState extends GameState {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="failureInner">
|
|
|
|
<div class="failureInner">
|
|
|
|
<div class="errorHeader">
|
|
|
|
<div class="errorHeader">
|
|
|
|
Failed to initialize application!
|
|
|
|
应用初始化失败!
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="errorMessage">
|
|
|
|
|
|
|
|
${this.currentStatus} failed:<br/>
|
|
|
|
|
|
|
|
${text}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="supportHelp">
|
|
|
|
|
|
|
|
Please send me an email with steps to reproduce and what you did before this happened:
|
|
|
|
|
|
|
|
<br /><a class="email" href="mailto:${email}?subject=App%20does%20not%20launch">${email}</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="lower">
|
|
|
|
<div class="lower">
|
|
|
|
<button class="resetApp styledButton">Reset App</button>
|
|
|
|
<i>建造。${G_BUILD_VERSION} @ ${G_BUILD_COMMIT_HASH}</i>
|
|
|
|
<i>Build ${G_BUILD_VERSION} @ ${G_BUILD_COMMIT_HASH}</i>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
`;
|
|
|
@ -307,9 +297,6 @@ export class PreloadState extends GameState {
|
|
|
|
this.htmlElement.classList.add("failure");
|
|
|
|
this.htmlElement.classList.add("failure");
|
|
|
|
this.htmlElement.appendChild(subElement);
|
|
|
|
this.htmlElement.appendChild(subElement);
|
|
|
|
|
|
|
|
|
|
|
|
const resetBtn = subElement.querySelector("button.resetApp");
|
|
|
|
|
|
|
|
this.trackClicks(resetBtn, this.showResetConfirm);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.hintsText.remove();
|
|
|
|
this.hintsText.remove();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|