mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-21 20:59:01 +03:00
Fix portable launcher
This commit is contained in:
parent
af5ae5c33a
commit
c2997fc102
@ -15,7 +15,7 @@ namespace NAPS2.Portable
|
|||||||
if (portableExeDir != null)
|
if (portableExeDir != null)
|
||||||
{
|
{
|
||||||
var portableExePath = Path.Combine(portableExeDir, @"App\NAPS2.exe");
|
var portableExePath = Path.Combine(portableExeDir, @"App\NAPS2.exe");
|
||||||
typeof(Process).GetMethod("Start").Invoke(null, new object[] { portableExePath });
|
typeof(Process).GetMethod("Start", new[] { typeof(string) }).Invoke(null, new object[] { portableExePath });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user