- fixed patch installation when the patch is even not installed
This commit is contained in:
Observer KRypt0n_ 2021-11-24 18:05:44 +02:00
parent 79ead16bad
commit e97a54c9f5
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
3 changed files with 5 additions and 3 deletions

View file

@ -14,7 +14,7 @@
| Game version | Launcher version | Patch version |
| :---: | :---: | :---: |
| 2.3.0 | 1.5.6 | 2.3.0 testing ⚠️ |
| 2.3.0 | 1.5.7 | 2.3.0 testing ⚠️ |
We have our own [An Anime Game](https://discord.gg/MA8fTBarfj) discord server where you can ask any questions
@ -122,6 +122,7 @@ npm start
* <s>Make shaders manager hidden if vkBasalt is not installed</s> *(1.5.4)*
* <s>Make MangoHud option hidden if it is not installed</s> *(1.5.4)*
* DXVK logs auto-deletion option
* Fix button flickering at start when the launcher's state updates
* Wine prefix folder selection
* Game's update pre-installation
* Screenshots explorer

View file

@ -1,6 +1,6 @@
{
"name": "an-anime-game-launcher",
"version": "1.5.6",
"version": "1.5.7",
"description": "An Anime Game Linux Launcher",
"author": "Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>",
"contributors": [

View file

@ -114,7 +114,8 @@ export default class LauncherUI
this.setState('game-voice-update-required');
// Patch version is incorrect
else if (LauncherLib.getConfig('patch') && LauncherLib.getConfig('patch.version') != patchInfo.version)
// or it's even not installed
else if ((LauncherLib.getConfig('patch') && LauncherLib.getConfig('patch.version') != patchInfo.version) || LauncherLib.getConfig('patch') === null)
{
// Patch is not available
if (patchInfo.version !== gameData.game.latest.version)