mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 08:51:47 +03:00
Added temp unpacking notification to progress bar
because for some reasons it lags a bit
This commit is contained in:
parent
16504a499a
commit
377f458ed5
2 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="downloader-panel" class="dark" style="display: none">
|
<div id="downloader-panel" class="dark" style="display: none">
|
||||||
<div id="downloader-label">
|
<div id="downloader-label">
|
||||||
<span id="downloaded">Downloading...</span>
|
<span id="downloaded">Downloading</span>
|
||||||
<span id="speed"></span>
|
<span id="speed"></span>
|
||||||
<span id="eta"></span>
|
<span id="eta"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -112,6 +112,10 @@ $(() => {
|
||||||
|
|
||||||
LauncherUI.initProgressBar();
|
LauncherUI.initProgressBar();
|
||||||
|
|
||||||
|
// That is a temp solution because for some reasons
|
||||||
|
// unpacker takes some time to understand what's happening with its life
|
||||||
|
$('#downloaded').text(LauncherUI.i18n.translate('Unpacking'));
|
||||||
|
|
||||||
await unpacker(
|
await unpacker(
|
||||||
path.join(constants.launcherDir, defaultRunner.name),
|
path.join(constants.launcherDir, defaultRunner.name),
|
||||||
defaultRunner.makeFolder ?
|
defaultRunner.makeFolder ?
|
||||||
|
|
Loading…
Reference in a new issue