fixed scripts v2 leftovers

This commit is contained in:
Oliver Kieselbach
2026-05-07 10:17:35 +02:00
parent d8e1eb9292
commit 08107d7b68
4 changed files with 4 additions and 4 deletions
@@ -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.
@@ -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:
@@ -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\Auto<pilot>Monitor\Agent.V2.exe";
const string trickyExe = @"C:\Program Files & Co\Auto<pilot>Monitor\Agent.exe";
var xml = AutopilotMonitor.Agent.V2.Program.BuildScheduledTaskXml(trickyExe);
@@ -1 +1 @@
634
636