From 3fb1d983dfbc0543a50e1b1c6c7f4696bb7191d0 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Thu, 14 May 2026 18:10:16 -0400 Subject: [PATCH] Stop moving OpenText / WJ Shopfloor shortcuts into Shopfloor Tools OpenText / Host Explorer shortcut filenames vary by installed profile (e.g. 'WJ Shopfloor OpenText.lnk', 'WJ Shopfloor.lnk', 'HostExplorer ShopFloor.lnk'). The taskbar-pin path in site-config.json hardcodes 'Shopfloor Tools\WJ Shopfloor.lnk' - mismatches the actual filename so 07-TaskbarLayout silently skips pinning it. Drop OpenText/ShopFloor/HostExplorer pattern moves from 06's categorization regex. Shortcuts stay at the public-desktop top level where the OpenText installer placed them. Tech sees the icon on the desktop, no taskbar pin (the variable filename made the pin unreliable anyway). Other categories (UDC, eDNC, NTLARS, etc with stable filenames) still move into Shopfloor Tools and pin correctly. Co-Authored-By: Claude Opus 4.7 (1M context) --- playbook/shopfloor-setup/Shopfloor/06-OrganizeDesktop.ps1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/playbook/shopfloor-setup/Shopfloor/06-OrganizeDesktop.ps1 b/playbook/shopfloor-setup/Shopfloor/06-OrganizeDesktop.ps1 index f8a7748..680f431 100644 --- a/playbook/shopfloor-setup/Shopfloor/06-OrganizeDesktop.ps1 +++ b/playbook/shopfloor-setup/Shopfloor/06-OrganizeDesktop.ps1 @@ -132,8 +132,12 @@ function Invoke-DesktopSweep { Name = @( '^UDC', 'eDNC', '\bDNC\b', 'DncMain', 'GE DNC', 'NTLARS', - 'Host\s*Explorer', 'ShopFloor', 'TN3270', 'TN5250', 'HE\s*3270', 'HE\s*5250', - 'OpenText', + 'Host\s*Explorer', 'TN3270', 'TN5250', 'HE\s*3270', 'HE\s*5250', + # OpenText / 'WJ Shopfloor' / 'ShopFloor' shortcuts left on + # the desktop intentionally. The actual filename varies by + # OpenText profile (e.g. 'WJ Shopfloor OpenText.lnk') so the + # taskbar pin path mismatch silently skipped these. Leaving + # them at the public desktop top level instead. 'Defect[_\s-]?Tracker', 'MarkZebra', 'Zebra', 'PC-?DMIS',