From 4e863340c007da0b9ebadf7dffa119665b7428c3 Mon Sep 17 00:00:00 2001 From: romanitho <96626929+Romanitho@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:51:48 +0100 Subject: [PATCH] Simplify the lnk Due to Antivirus false detection, testing a simplified command: From: %WinDir%\System32\WindowsPowerShell\v1.0\powershell.exe -ep Bypass -w h -C "& {gci -R | Unblock-File; ".\WAU\Gui.ps1"}" To: %WinDir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File .\WAU\Gui.ps1 --- Sources/WAU Configurator.lnk | Bin 2668 -> 2668 bytes Sources/WAU/Gui.ps1 | 5 +++++ 2 files changed, 5 insertions(+) diff --git a/Sources/WAU Configurator.lnk b/Sources/WAU Configurator.lnk index 4c53da3376d072ae72e36cd487a0eab2cb0ea53d..d62ed85a67202bd7ffeab8ee83a202b09ebe27d8 100644 GIT binary patch delta 114 zcmaDO@0kV@BDj5_QoPcBjLn1>l5GpX} xGK2$V@)%NpYRVacfqE)|YEywS9zgLFAWQ|yg4DSI`CysJyO^an-)5f31^~zv80-K5 delta 114 zcmaDO@wI x0+KaA9LkW#ki?L~kPno}2I_MI%I7eoGFSuUlqMfwmS$CAsAW*ve2aM!8vyV16`244 diff --git a/Sources/WAU/Gui.ps1 b/Sources/WAU/Gui.ps1 index 4406d49..da45dce 100644 --- a/Sources/WAU/Gui.ps1 +++ b/Sources/WAU/Gui.ps1 @@ -9,6 +9,11 @@ This script will: - Install apps with Winget from a custom list file (apps.txt) or directly from popped up default list. #> +<# UNBLOCK FILES #> + +Get-ChildItem -R | Unblock-File + + <# APP INFO #> # import Appx module if the powershell version is 7/core