From e0b65224805c074132de69f07e6006fe52e0f321 Mon Sep 17 00:00:00 2001 From: CristianD Date: Wed, 29 Jul 2026 17:19:09 +0100 Subject: [PATCH] Update 8x8_Work_Updater.ps1 --- 8x8_Work_Updater.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/8x8_Work_Updater.ps1 b/8x8_Work_Updater.ps1 index e127a53..20cbc58 100644 --- a/8x8_Work_Updater.ps1 +++ b/8x8_Work_Updater.ps1 @@ -11,6 +11,11 @@ if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti exit 1 } +# Load required .NET assemblies for Windows PowerShell 5.1 +Add-Type -AssemblyName System.Windows.Forms +Add-Type -AssemblyName System.Drawing +Add-Type -AssemblyName System.Net.Http + # Use C:\ProgramData\ so standard users have full read/execute access $workDir = "C:\ProgramData\JCT600_8x8Update" $flagFile = Join-Path $workDir "8x8_Update_Proceed.flag"