From 973b578e2e0807b69d07d9dc4a87c1e29bdeb8c2 Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Sat, 4 Feb 2023 04:17:35 +0100 Subject: [PATCH] Done --- README.md | 3 -- Winget-AutoUpdate-Install.ps1 | 44 ++++++++++++++---- .../functions/Invoke-PostUpdateActions.ps1 | 46 ++++++++++++++----- 3 files changed, 69 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 2e7547c..39c476a 100644 --- a/README.md +++ b/README.md @@ -103,9 +103,6 @@ Thanks to [Weatherlights](https://github.com/Weatherlights) in [#256 (reply in t **-ModsPath** Get Mods from external Path (**URL/UNC/Local**) - download/copy to `mods` in Winget-AutoUpdate installation location if external mods are newer. -Security: -If -ModsPath is used during installation WAU assumes it's an enterprise environment and adds a **Deny rule** to the file rights for the directory `mods` for **Local Users** (SID: S-1-5-32-545) making it impossible to implement own scripts that can be executed in **SYSTEM** context. - For **URL**: This requires a site directory with **Directory Listing Enabled** and no index page overriding the listing of files (or an index page with href listing of all the **Mods** to be downloaded): ```