Preparations to 1.6.1 release (part 2)

- added wineserver env to winetricks
- added cabextract requirement
This commit is contained in:
Observer KRypt0n_ 2021-11-26 21:13:57 +02:00
parent db6612db0a
commit 0240b282f2
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
2 changed files with 11 additions and 6 deletions

View file

@ -46,23 +46,26 @@ This launcher is also available as the [an-anime-game-launcher](https://aur.arch
To work this launcher requires
* unzip
* tar
* git
* xdelta3
| Name | Description |
| --- | --- |
| unzip | To unpack zip archives (DXVKs / wines) |
| tar | To unpack tar archives (DXVKs / wines) |
| git | To check for new versions of the launcher |
| xdelta3 | To apply the patch to the game |
| cabextract | To install fonts to the wine prefix |
## Install
### apt-get
```sh
sudo apt-get install unzip tar git xdelta3
sudo apt-get install unzip tar git xdelta3 cabextract
```
### pacman
```sh
sudo pacman -Syu unzip tar git xdelta3
sudo pacman -Syu unzip tar git xdelta3 cabextract
```
# Additional requirements

View file

@ -266,6 +266,8 @@ export default class LauncherLib
LauncherLib.getConfig('runner.executable')
);
env['WINESERVER'] = path.join(path.dirname(env['WINE']), 'wineserver');
if (!fs.existsSync(env['WINE']))
console.error(`Patcher supposed to use ${LauncherLib.getConfig('runner.name')} runner, but it doesn't installed`);
}