Skip to content

Commit

Permalink
Merge pull request #4 from Frozenreflex/master
Browse files Browse the repository at this point in the history
Create new WinePrefix when running under Wine
  • Loading branch information
TheNexusAvenger authored Mar 16, 2022
2 parents 516987f + e8136e2 commit 56bb34e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NLUL.Core/Client/Runtime/UserInstalledWine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public Process RunApplication(string executablePath, string workingDirectory)
}
};
clientProcess.StartInfo.EnvironmentVariables.Add("WINEDLLOVERRIDES","dinput8.dll=n,b");
clientProcess.StartInfo.EnvironmentVariables.Add("WINEPREFIX",Path.Combine(workingDirectory, "..", "WinePrefix"));
return clientProcess;
}
}
}
}

0 comments on commit 56bb34e

Please sign in to comment.