diff --git a/README.md b/README.md index 3d8311b..4f1cba9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/ts/lib/LauncherLib.ts b/src/ts/lib/LauncherLib.ts index fc557b2..a7dc77b 100644 --- a/src/ts/lib/LauncherLib.ts +++ b/src/ts/lib/LauncherLib.ts @@ -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`); }