mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #680 from erri120/issue-678
Added /select param when opening the log folder or finished modlist
This commit is contained in:
commit
93a62393da
@ -233,14 +233,14 @@ namespace Wabbajack
|
||||
{
|
||||
if (Completed?.Failed ?? false)
|
||||
{
|
||||
Process.Start("explorer.exe", Utils.LogFolder);
|
||||
Process.Start("explorer.exe", $"/select,\"{Utils.LogFolder}\"");
|
||||
}
|
||||
else
|
||||
{
|
||||
Process.Start("explorer.exe",
|
||||
string.IsNullOrWhiteSpace(OutputLocation.TargetPath)
|
||||
? Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location)
|
||||
: OutputLocation.TargetPath);
|
||||
? $"/select,\"{Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location)}\""
|
||||
: $"/select,\"{OutputLocation.TargetPath}\"");
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user