mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 17:01:47 +03:00
2.2.0
- fixed issue with the first launcher run before the Chinese version was loading ignoring config server property
This commit is contained in:
parent
31b14bf9d5
commit
238b6fa132
4 changed files with 20 additions and 11 deletions
|
@ -62,7 +62,7 @@ field in your `config.yaml` file (settings -> launcher folder). If your system u
|
||||||
|
|
||||||
| Game version | Launcher version | Patch version |
|
| Game version | Launcher version | Patch version |
|
||||||
| :---: | :---: | :---: |
|
| :---: | :---: | :---: |
|
||||||
| 2.5.0 | 2.1.5 | 2.5.0 stable ✅ |
|
| 2.5.0 | 2.2.0 | 2.5.0 stable ✅ |
|
||||||
|
|
||||||
We have our own [An Anime Game](https://discord.gg/ck37X6UWBp) discord server where you can ask any questions
|
We have our own [An Anime Game](https://discord.gg/ck37X6UWBp) discord server where you can ask any questions
|
||||||
|
|
||||||
|
@ -169,8 +169,8 @@ This is our current roadmap goals. You can find older ones [here](repository/pag
|
||||||
* <s>ToS Violation Window</s> *(2.1.0)*
|
* <s>ToS Violation Window</s> *(2.1.0)*
|
||||||
* <s>Add `latest.log` file generation</s> *(2.1.2)*
|
* <s>Add `latest.log` file generation</s> *(2.1.2)*
|
||||||
* <s>Add an option to show terminal with the wine's log of the game</s> *(7375c743, released in 2.1.3)*
|
* <s>Add an option to show terminal with the wine's log of the game</s> *(7375c743, released in 2.1.3)*
|
||||||
* <s>Add analytics window</s> *(e0a09323)*
|
* <s>Add analytics window</s> *(e0a09323, released in 2.2.0)*
|
||||||
* <s>Add Chinese game's version support (due to changes in the Krock's patch)</s> *(75f2ad66)*
|
* <s>Add Chinese game's version support (due to changes in the Krock's patch)</s> *(75f2ad66, released in 2.2.0)*
|
||||||
* Implement manual config flushing functionality from the Empathize's API
|
* Implement manual config flushing functionality from the Empathize's API
|
||||||
* Game statistics window
|
* Game statistics window
|
||||||
* Dark progress bar design
|
* Dark progress bar design
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
import Launcher from './ts/Launcher';
|
import Launcher from './ts/Launcher';
|
||||||
import constants from './ts/Constants';
|
import constants from './ts/Constants';
|
||||||
import Game from './ts/Game';
|
import Game from './ts/Game';
|
||||||
import Background from './ts/launcher/Background';
|
|
||||||
|
|
||||||
import GearIcon from './assets/images/gear.png';
|
import GearIcon from './assets/images/gear.png';
|
||||||
import GearActiveIcon from './assets/images/gear-active.png';
|
import GearActiveIcon from './assets/images/gear-active.png';
|
||||||
|
@ -117,9 +116,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
{#await Background.get() then uri}
|
<img id="background" src="" alt="">
|
||||||
<img class="background" src={uri} alt="">
|
|
||||||
{/await}
|
|
||||||
|
|
||||||
<div class="downloader-panel" data-theme="light">
|
<div class="downloader-panel" data-theme="light">
|
||||||
<div class="downloader-label">
|
<div class="downloader-label">
|
||||||
|
@ -134,9 +131,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="launcher-content">
|
<div id="launcher-content">
|
||||||
{#await launcher.getSocial() then uri}
|
<iframe id="social-iframe" src="" title="" scrolling="no" style="position: absolute; border: 0; top: 0; left: 0;" width="100%" height="100%"></iframe>
|
||||||
<iframe id="social-iframe" src={uri} title="" scrolling="no" style="position: absolute; border: 0; top: 0; left: 0;" width="100%" height="100%"></iframe>
|
|
||||||
{/await}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="settings">
|
<div id="settings">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@import "basic"
|
@import "basic"
|
||||||
|
|
||||||
img.background
|
#background
|
||||||
position: absolute
|
position: absolute
|
||||||
|
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
|
@ -17,6 +17,7 @@ import DXVK from '../core/DXVK';
|
||||||
import Locales from './Locales';
|
import Locales from './Locales';
|
||||||
import Git from '../core/Git';
|
import Git from '../core/Git';
|
||||||
import constants from '../Constants';
|
import constants from '../Constants';
|
||||||
|
import Background from './Background';
|
||||||
|
|
||||||
declare const Neutralino;
|
declare const Neutralino;
|
||||||
|
|
||||||
|
@ -24,6 +25,9 @@ export default class State
|
||||||
{
|
{
|
||||||
public launcher: Launcher;
|
public launcher: Launcher;
|
||||||
|
|
||||||
|
public backgroundImage: HTMLElement;
|
||||||
|
public socialsIframe: HTMLElement;
|
||||||
|
|
||||||
public launchButton: HTMLElement;
|
public launchButton: HTMLElement;
|
||||||
public pauseButton: HTMLElement;
|
public pauseButton: HTMLElement;
|
||||||
public predownloadButton: HTMLElement;
|
public predownloadButton: HTMLElement;
|
||||||
|
@ -53,11 +57,21 @@ export default class State
|
||||||
{
|
{
|
||||||
this.launcher = launcher;
|
this.launcher = launcher;
|
||||||
|
|
||||||
|
this.backgroundImage = <HTMLElement>document.getElementById('background');
|
||||||
|
this.socialsIframe = <HTMLElement>document.getElementById('social-iframe');
|
||||||
|
|
||||||
this.launchButton = <HTMLElement>document.getElementById('launch');
|
this.launchButton = <HTMLElement>document.getElementById('launch');
|
||||||
this.pauseButton = <HTMLElement>document.getElementById('pause');
|
this.pauseButton = <HTMLElement>document.getElementById('pause');
|
||||||
this.predownloadButton = <HTMLElement>document.getElementById('predownload');
|
this.predownloadButton = <HTMLElement>document.getElementById('predownload');
|
||||||
this.settingsButton = <HTMLElement>document.getElementById('settings');
|
this.settingsButton = <HTMLElement>document.getElementById('settings');
|
||||||
|
|
||||||
|
Background.get().then((uri) => {
|
||||||
|
if (uri)
|
||||||
|
this.backgroundImage.setAttribute('src', uri);
|
||||||
|
});
|
||||||
|
|
||||||
|
launcher.getSocial().then((uri) => this.socialsIframe.setAttribute('src', uri));
|
||||||
|
|
||||||
this.launchButton.onclick = () => {
|
this.launchButton.onclick = () => {
|
||||||
if (this.events[this._state])
|
if (this.events[this._state])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue