mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-02 06:57:20 +03:00
Fix DXVK not applying due to shell file looking for wine
This commit is contained in:
parent
5a00b95d20
commit
6139c460be
1 changed files with 5 additions and 0 deletions
|
@ -171,6 +171,11 @@ export default class DXVK
|
||||||
|
|
||||||
const pipeline = promisify({
|
const pipeline = promisify({
|
||||||
callbacks: [
|
callbacks: [
|
||||||
|
/**
|
||||||
|
* Replace all wine entries and remove wineboot -u to make applying dxvk work
|
||||||
|
*/
|
||||||
|
() => Neutralino.os.execCommand(`sed -i 's/wine="wine"/wine="${runnerDir.replaceAll('/', '\\/')}\\/${runner!.files.wine.replace('64', '').replaceAll('/', '\\/')}"/g' ${dxvkDir}/setup_dxvk.sh && sed -i 's/wine64="wine64"/wine64="${runnerDir.replaceAll('/', '\\/')}\\/${runner!.files.wine.replaceAll('/', '\\/')}"/g' ${dxvkDir}/setup_dxvk.sh && sed -i 's/wineboot="wineboot"/wineboot="${runnerDir.replaceAll('/', '\\/')}\\/${runner!.files.wine.replace('64', 'boot').replaceAll('/', '\\/')}"/g' ${dxvkDir}/setup_dxvk.sh && sed -i '/$wineboot -u/d' ${dxvkDir}/setup_dxvk.sh`),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make the installation script executable
|
* Make the installation script executable
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue