fix(ui): restore ForegroundHelper.AllowAny call before wt.exe launch
OpenInTerminal lost its foreground-grant call, leaving ForegroundHelper without a caller. Restore it ahead of the Process.Start (covers both the wt.exe and cmd.exe fallback paths) instead of deleting the helper.
This commit is contained in:
@@ -121,6 +121,7 @@ public sealed partial class ListsIslandViewModel : ViewModelBase, IDisposable
|
|||||||
{
|
{
|
||||||
var dir = row?.WorkingDir;
|
var dir = row?.WorkingDir;
|
||||||
if (string.IsNullOrWhiteSpace(dir) || !System.IO.Directory.Exists(dir)) return;
|
if (string.IsNullOrWhiteSpace(dir) || !System.IO.Directory.Exists(dir)) return;
|
||||||
|
ForegroundHelper.AllowAny();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
|
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
|
||||||
|
|||||||
Reference in New Issue
Block a user