diff --git a/qt/launcher-gui/src/routes/Start.svelte b/qt/launcher-gui/src/routes/Start.svelte index cd7dfb95e..e68f5388f 100644 --- a/qt/launcher-gui/src/routes/Start.svelte +++ b/qt/launcher-gui/src/routes/Start.svelte @@ -3,32 +3,32 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> - - - - - - - - - - - - {#key $currentLang} - - - - -

{tr.launcherTitle()}

-
- - - {tr.launcherLanguage()} - - -
- {#if latestVersion != null && latestVersion != currentVersion} - - - - {/if} - {#if currentVersion != null} - - - - {/if} - - -
- {"->"} -
-
- {#if availableVersions.length !== 0} - - {:else} - {"loading"} - {/if} -
-
-
-
-
- {#await choosePromise} - - {:then res} - {#if res != null} - - {/if} - {/await} - {/key} -
- {#key $currentLang} - {tr.launcherOutput()} - {/key} -
-
+ + + +

{$tr.launcherTitle()}

+
+ + + {$tr.launcherLanguage()} + + + {#await choosePromise} + + + + {:then res} + {#if res === null} + {#await loadPromise} + + + + {:then [releases, existing]} + + {:catch e} + {setError(e)} + + {/await} + {:else} + + + + {/if} + {:catch e} + {setError(e)} + + {/await} + {#if error != null} + +
{error.message}
+
+ {/if} +
- {#key $currentLang} + + {#if !chosen} - -
- - - {tr.launcherAllowBetasToggle()} - - -
-
- - - {tr.launcherDownloadCaching()} - - -
-
- - - {tr.launcherUseMirror()} - - -
-
+
- {/key} + {/if}