Documentation
parent
752500e9cf
commit
c9d8f195c4
|
@ -171,7 +171,14 @@ Remove scheduled tasks and scripts.
|
||||||
## Intune/SCCM use
|
## Intune/SCCM use
|
||||||
See https://github.com/Romanitho/Winget-AutoUpdate/discussions/88
|
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.
|
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.
|
Just put the scripts in question with the **AppID** followed by the `-preinstall`, `-upgrade`, `-install` or `-installed` suffix in the **mods** folder.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue