mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-10 18:14:36 +01:00
WIP ex
This commit is contained in:
parent
350d2961c1
commit
a01bc259a8
7 changed files with 55 additions and 17 deletions
|
|
@ -26,13 +26,21 @@ namespace Dalamud.Injector
|
|||
RootDirectory = rootDirectory,
|
||||
});
|
||||
|
||||
// ..
|
||||
boot.Relaunch(options.Pid);
|
||||
}
|
||||
|
||||
private static void Launch(LaunchOptions options)
|
||||
{
|
||||
var binDirectory = options.BinaryDirectory ?? GetDefaultBinaryDirectory();
|
||||
var rootDirectory = options.RootDirectory ?? GetDefaultRootDirectory();
|
||||
|
||||
var boot = new Bootstrapper(new BootstrapperOptions
|
||||
{
|
||||
BinaryDirectory = binDirectory,
|
||||
RootDirectory = rootDirectory,
|
||||
});
|
||||
|
||||
boot.Launch(options.ExecutablePath, options.CommandLine);
|
||||
}
|
||||
|
||||
private static string GetDefaultBinaryDirectory()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue