diff --git a/README.md b/README.md index 1d396eb..8e4c04f 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,14 @@ Remove scheduled tasks and scripts. ## Intune/SCCM use See https://github.com/Romanitho/Winget-AutoUpdate/discussions/88 -## Custom scripts (Mods feature) +## Custom scripts (Mods for WAU) +**Mods for WAU** allows you to craft a script to do whatever you like via `_WAU-mods.ps1` in the **mods** folder. + +This script executes **if the network is active/any version of Winget is installed/WAU is running as SYSTEM**. + +If **ExitCode** is **1** from `_WAU-mods.ps1` then **Re-run WAU**. + +## Custom scripts (Mods feature for Apps) From version 1.8.0, the Mods feature allows you to run additional scripts when upgrading or installing an app. Just put the scripts in question with the **AppID** followed by the `-preinstall`, `-upgrade`, `-install` or `-installed` suffix in the **mods** folder.