mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-24 20:13:04 +00:00
Replacing wbfs_file with wit
This commit is contained in:
parent
4e3ddfb8ac
commit
9dd616be68
1 changed files with 5 additions and 5 deletions
|
@ -703,8 +703,8 @@ namespace UWUVCI_AIO_WPF
|
|||
toiso.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
|
||||
// toiso.StartInfo.CreateNoWindow = true;
|
||||
}
|
||||
toiso.StartInfo.FileName = Path.Combine(toolsPath, "wbfs_file.exe");
|
||||
toiso.StartInfo.Arguments = $"\"{romPath}\" convert \"{Path.Combine(tempPath, "pre.iso")}\" -t";
|
||||
toiso.StartInfo.FileName = Path.Combine(toolsPath, "wit.exe");
|
||||
toiso.StartInfo.Arguments = $"copy --source \"{romPath}\" --dest \"{Path.Combine(tempPath, "pre.iso")}\" -I";
|
||||
|
||||
toiso.Start();
|
||||
toiso.WaitForExit();
|
||||
|
@ -1378,9 +1378,9 @@ namespace UWUVCI_AIO_WPF
|
|||
{
|
||||
mvvm.msg = "Converting WBFS to ISO...";
|
||||
Console.WriteLine("Converting WBFS to ISO...");
|
||||
|
||||
tik.StartInfo.FileName = Path.Combine(toolsPath, "wbfs_file.exe");
|
||||
tik.StartInfo.Arguments = $"\"{romPath}\" convert \"{Path.Combine(tempPath, "pre.iso")}\"";
|
||||
|
||||
tik.StartInfo.FileName = Path.Combine(toolsPath, "wit.exe");
|
||||
tik.StartInfo.Arguments = $"copy --source \"{romPath}\" --dest \"{Path.Combine(tempPath, "pre.iso")}\" -I";
|
||||
tik.Start();
|
||||
tik.WaitForExit();
|
||||
if (!File.Exists(Path.Combine(tempPath, "pre.iso")))
|
||||
|
|
Loading…
Reference in a new issue