mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-10 05:34:13 +00:00
Assumed the path will have vWii in it's name
This commit is contained in:
parent
bc5a1fc5d8
commit
0f2b1acb8e
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ namespace UWUVCI_AIO_WPF
|
|||
var p = new Process();
|
||||
var fileName = Application.ResourceAssembly.Location;
|
||||
foreach (var file in Directory.GetFiles(Directory.GetCurrentDirectory(), "*.exe"))
|
||||
if (!Path.GetFileName(file).Contains(Path.GetFileNameWithoutExtension(fileName)))
|
||||
if (Path.GetFileName(file).Contains("vWii"))
|
||||
{
|
||||
fileName = file;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue