Add queued FFmpeg conversion and finish splitting the window from the host.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 01:49:50 +02:00
parent 48d03f794f
commit 6fc7506eb7
85 changed files with 3394 additions and 512 deletions

View File

@@ -5,15 +5,12 @@ namespace Explorer.Hosting.Tests;
public class HostLogonAutostartTests
{
[Fact]
public void Create_args_are_per_user_logon_not_system_service()
public void Run_command_is_the_quoted_host_exe_for_the_current_user()
{
var args = HostLogonAutostart.CreateTaskArgs(@"C:\Tools\Explorer.Host.exe");
Assert.Contains("/SC", args);
Assert.Contains("ONLOGON", args);
Assert.Contains("/RL", args);
Assert.Contains("LIMITED", args);
Assert.Contains(HostLogonAutostart.TaskName, args);
Assert.DoesNotContain("ONSTART", args);
Assert.DoesNotContain("/RU", args);
var command = HostLogonAutostart.RunCommand(@"C:\Tools\Explorer.Host.exe");
Assert.Equal("\"C:\\Tools\\Explorer.Host.exe\"", command);
Assert.Equal("ExplorerWorkbenchHost", HostLogonAutostart.RunValueName);
Assert.DoesNotContain("/RU", command, StringComparison.OrdinalIgnoreCase);
Assert.DoesNotContain("ONSTART", command, StringComparison.OrdinalIgnoreCase);
}
}