mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Add changelog, fix Wabbajack CLI bat pointing to the wrong directory
This commit is contained in:
parent
591f9bac54
commit
2618d53f7b
@ -7,6 +7,10 @@
|
||||
* Only `Dragon Age: Origins` & `Dragon Age: Inquisition` supported for now.
|
||||
* For other games we still need to collect the right store IDs
|
||||
* Fixed Final Fantasy 7: Remake Intergrade meta data
|
||||
* Fixed new WebView2 instances being created constantly causing a memory leak
|
||||
* Fixed the Nexus API key no longer being picked up when logging in
|
||||
* Fixed Baldur's Gate 3 having to be named 'badlursgate3' instead of 'baldursgate3' when defining a modlist JSON
|
||||
* Fixed wabbajack-cli.bat pointing to the wrong CLI executable path
|
||||
|
||||
#### Version - 3.4.1.0 - 12/21/2023
|
||||
* Added Support for Final Fantasy 7: Remake Intergrade
|
||||
|
@ -303,10 +303,13 @@ public class MainWindowViewModel : ViewModelBase
|
||||
{
|
||||
try
|
||||
{
|
||||
filename = filename.Parent.Combine("wabbajack-cli.exe");
|
||||
filename = filename.Parent.Combine("cli", "wabbajack-cli.exe");
|
||||
var data = $"\"{filename}\" %*";
|
||||
var file = Path.Combine(Directory.GetCurrentDirectory(), "wabbajack-cli.bat");
|
||||
if (File.Exists(file) && await File.ReadAllTextAsync(file) == data) return;
|
||||
var parent = Directory.GetParent(file).FullName;
|
||||
if (!Directory.Exists(file))
|
||||
Directory.CreateDirectory(parent);
|
||||
await File.WriteAllTextAsync(file, data);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Loading…
Reference in New Issue
Block a user