diff --git a/scripts/Bootstrap/Install-AutopilotMonitor-v2-dev.ps1 b/scripts/Bootstrap/Install-AutopilotMonitor-v2-dev.ps1 index abd25f62..82baf7e8 100644 --- a/scripts/Bootstrap/Install-AutopilotMonitor-v2-dev.ps1 +++ b/scripts/Bootstrap/Install-AutopilotMonitor-v2-dev.ps1 @@ -29,7 +29,7 @@ 2026-04-20 v2.0-pre-dev Forked from Install-AutopilotMonitor-Dev.ps1 v1.1-dev for V2-Agent. Default URL -> AutopilotMonitor-Agent-V2-dev.zip, integrity file -> version-v2-dev.json, - agent exe -> AutopilotMonitor.Agent.V2.exe. + agent exe -> AutopilotMonitor.Agent.exe (V2 release line, identified via version-v2-dev.json + AssemblyVersion 2.0.x). Plan: plans/REFACTOR_AGENT_V2.md section 4 M2. 2026-04-14 v1.1-dev Initial DEV variant forked from Install-AutopilotMonitor.ps1 v1.1. Default URL -> AutopilotMonitor-Agent-dev.zip, integrity file -> version-dev.json. diff --git a/scripts/Bootstrap/Install-AutopilotMonitor-v2.ps1 b/scripts/Bootstrap/Install-AutopilotMonitor-v2.ps1 index edbd647a..653b30dd 100644 --- a/scripts/Bootstrap/Install-AutopilotMonitor-v2.ps1 +++ b/scripts/Bootstrap/Install-AutopilotMonitor-v2.ps1 @@ -42,7 +42,7 @@ of schtasks /Run, and BootTrigger fallback via XML-hardened task (PR2). 2026-04-20 v2.0-pre Forked from Install-AutopilotMonitor.ps1 v1.1 for V2-Agent. URL -> AutopilotMonitor-Agent-V2.zip, integrity file -> version-v2.json, - agent exe -> AutopilotMonitor.Agent.V2.exe. Same guards + install flow. + agent exe -> AutopilotMonitor.Agent.exe (V2 release line, identified via version-v2.json + AssemblyVersion 2.0.x). Same guards + install flow. 2026-04-09 v1.1 Introduced explicit script version and log it on startup (all entries above were v1.0) 2026-03-31 Replaced OS age + MDM pre-flight checks with multi-signal guard: diff --git a/src/Agent/AutopilotMonitor.Agent.V2.Core.Tests/Program/InstallModeTaskXmlTests.cs b/src/Agent/AutopilotMonitor.Agent.V2.Core.Tests/Program/InstallModeTaskXmlTests.cs index 7ba2625e..5084fe5e 100644 --- a/src/Agent/AutopilotMonitor.Agent.V2.Core.Tests/Program/InstallModeTaskXmlTests.cs +++ b/src/Agent/AutopilotMonitor.Agent.V2.Core.Tests/Program/InstallModeTaskXmlTests.cs @@ -74,7 +74,7 @@ namespace AutopilotMonitor.Agent.V2.Core.Tests.Program public void Xml_embeds_exec_command_with_xml_special_chars_escaped() { // ProgramData is admin-set; defensive against `&` or `<` in custom paths. - const string trickyExe = @"C:\Program Files & Co\AutoMonitor\Agent.V2.exe"; + const string trickyExe = @"C:\Program Files & Co\AutoMonitor\Agent.exe"; var xml = AutopilotMonitor.Agent.V2.Program.BuildScheduledTaskXml(trickyExe); diff --git a/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt b/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt index 321183f6..a8f78cee 100644 --- a/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt +++ b/src/Agent/AutopilotMonitor.Agent.V2/buildcounter.txt @@ -1 +1 @@ -634 +636