[MegaLinter] Apply linters automatic fixes

pull/572/head
Romanitho 2024-02-22 07:47:04 +00:00 committed by github-actions[bot]
parent 872fd53119
commit a8d09ba998
2 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ Just [download latest release (WAU-Configurator.zip)](https://github.com/Romanit
You can exclude apps from update job (for instance, apps you want to keep at a specific version or apps with built-in auto-update): You can exclude apps from update job (for instance, apps you want to keep at a specific version or apps with built-in auto-update):
Add (or remove) the apps' ID you want to disable autoupdate to 'excluded_apps.txt'. (File must be placed in WAU's installation folder, or re-run install.bat). Add (or remove) the apps' ID you want to disable autoupdate to 'excluded_apps.txt'. (File must be placed in WAU's installation folder, or re-run install.bat).
- #### Or AllowList - #### Or AllowList
You can update only pre-selected apps. To do so, create an "included_apps.txt" with the apps' ID of the apps you want to auto-update and run the `Winget-AutoUpdate-Install.ps1` with `-UseWhiteList` parameter. Related post: https://github.com/Romanitho/Winget-AutoUpdate/issues/36 You can update only pre-selected apps. To do so, create an "included_apps.txt" with the apps' ID of the apps you want to auto-update and run the `Winget-AutoUpdate-Install.ps1` with `-UseWhiteList` parameter. Related post: <https://github.com/Romanitho/Winget-AutoUpdate/issues/36>
> The lists can contain Wildcard (*). For instance ```Mozilla.Firefox*``` will take care of all Firefox channels. (From v1.19.2-7) > The lists can contain Wildcard (*). For instance ```Mozilla.Firefox*``` will take care of all Firefox channels. (From v1.19.2-7)
@ -170,7 +170,7 @@ Specify Winget-AutoUpdate installation location. Default: `C:\ProgramData\Winget
Remove scheduled tasks and scripts. 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 script (Mods for WAU) ## Custom script (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.<br> **Mods for WAU** allows you to craft a script to do whatever you like via `_WAU-mods.ps1` in the **mods** folder.<br>
@ -196,7 +196,7 @@ You can find more information on [Winget-Install Repo](https://github.com/Romani
Read more in the `README.md` under the directory **mods**. Read more in the `README.md` under the directory **mods**.
Share your mods with the community:<br> Share your mods with the community:<br>
https://github.com/Romanitho/Winget-AutoUpdate/discussions/categories/mods <https://github.com/Romanitho/Winget-AutoUpdate/discussions/categories/mods>
### Winget native parameters ### Winget native parameters
Another finess is the **AppID** followed by the `-override` suffix as a **text file** (.**txt**) that you can place under the **mods** folder. Another finess is the **AppID** followed by the `-override` suffix as a **text file** (.**txt**) that you can place under the **mods** folder.
@ -219,7 +219,7 @@ Read more in the `README.md` under the directory **Policies**.
In some cases, you need to "unblock" the `install.bat` file (Windows Defender SmartScreen). Right click, properties and unblock. Then, you'll be able to run it. In some cases, you need to "unblock" the `install.bat` file (Windows Defender SmartScreen). Right click, properties and unblock. Then, you'll be able to run it.
## Known issues ## Known issues
* As reported by [soredake](https://github.com/soredake), Powershell from MsStore is not supported with WAU in system context. See https://github.com/Romanitho/Winget-AutoUpdate/issues/113 * As reported by [soredake](https://github.com/soredake), Powershell from MsStore is not supported with WAU in system context. See <https://github.com/Romanitho/Winget-AutoUpdate/issues/113>
## Optimization ## Optimization
Feel free to give us any suggestions or optimizations in code and support us by adding a star :) Feel free to give us any suggestions or optimizations in code and support us by adding a star :)

View File

@ -274,8 +274,8 @@ if (Test-Network) {
foreach ($app in $outdated) { foreach ($app in $outdated) {
#List available updates #List available updates
$Log = "-> Available update : $($app.Name). Current version : $($app.Version). Available version : $($app.AvailableVersion)." $Log = "-> Available update : $($app.Name). Current version : $($app.Version). Available version : $($app.AvailableVersion)."
$Log | Write-host $Log | Write-Host
$Log | out-file -filepath $LogFile -Append $Log | Out-File -FilePath $LogFile -Append
} }
#Count good update installations #Count good update installations