mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Inline startInfo.WorkingDirectory
This commit is contained in:
parent
2153164d3e
commit
220f47441a
1 changed files with 1 additions and 3 deletions
|
|
@ -61,8 +61,6 @@ namespace Dalamud.Injector
|
||||||
var process = GetProcess(args.ElementAtOrDefault(1));
|
var process = GetProcess(args.ElementAtOrDefault(1));
|
||||||
var startInfo = GetStartInfo(args.ElementAtOrDefault(2), process);
|
var startInfo = GetStartInfo(args.ElementAtOrDefault(2), process);
|
||||||
|
|
||||||
startInfo.WorkingDirectory = Directory.GetCurrentDirectory();
|
|
||||||
|
|
||||||
// This seems to help with the STATUS_INTERNAL_ERROR condition
|
// This seems to help with the STATUS_INTERNAL_ERROR condition
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(1000);
|
||||||
|
|
||||||
|
|
@ -245,7 +243,7 @@ namespace Dalamud.Injector
|
||||||
|
|
||||||
startInfo = new DalamudStartInfo
|
startInfo = new DalamudStartInfo
|
||||||
{
|
{
|
||||||
WorkingDirectory = null,
|
WorkingDirectory = Directory.GetCurrentDirectory(),
|
||||||
ConfigurationPath = Path.Combine(xivlauncherDir, "dalamudConfig.json"),
|
ConfigurationPath = Path.Combine(xivlauncherDir, "dalamudConfig.json"),
|
||||||
PluginDirectory = Path.Combine(xivlauncherDir, "installedPlugins"),
|
PluginDirectory = Path.Combine(xivlauncherDir, "installedPlugins"),
|
||||||
DefaultPluginDirectory = Path.Combine(xivlauncherDir, "devPlugins"),
|
DefaultPluginDirectory = Path.Combine(xivlauncherDir, "devPlugins"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue