mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-10 13:44:13 +00:00
Attempted to fix the base bug when using DarkFilter
This commit is contained in:
parent
c6cb5bb3b9
commit
3f5cbbb65d
1 changed files with 2 additions and 3 deletions
|
@ -2136,7 +2136,6 @@ namespace UWUVCI_AIO_WPF
|
|||
}
|
||||
|
||||
var allDataPath = Path.Combine(baseRomPath, "content", "alldata.psb.m");
|
||||
|
||||
if (config.DarkFilter == false)
|
||||
{
|
||||
//my dumb af way to ensure everything starts fresh and doesn't throw an error
|
||||
|
@ -2166,14 +2165,14 @@ namespace UWUVCI_AIO_WPF
|
|||
|
||||
allDataPath = Directory.GetCurrentDirectory() + @"\mod_alldata.psb.m";
|
||||
}
|
||||
|
||||
var outputAllDataPath = Path.Combine(baseRomPath, "content", "alldata.psb.m");
|
||||
using (Process psb = new Process())
|
||||
{
|
||||
mvvm.msg = "Injecting ROM...";
|
||||
psb.StartInfo.UseShellExecute = false;
|
||||
psb.StartInfo.CreateNoWindow = true;
|
||||
psb.StartInfo.FileName = Path.Combine(toolsPath, "psb.exe");
|
||||
psb.StartInfo.Arguments = $"\"{allDataPath}\" \"{injectRomPath}\" \"{allDataPath}\"";
|
||||
psb.StartInfo.Arguments = $"\"{allDataPath}\" \"{injectRomPath}\" \"{outputAllDataPath}\"";
|
||||
|
||||
psb.Start();
|
||||
psb.WaitForExit();
|
||||
|
|
Loading…
Reference in a new issue