2022-01-22 08:48:33 +00:00
# Winget-AutoUpdate
2022-02-02 07:14:19 +00:00
This project uses the Winget tool to daily update apps (with system context) and notify users when updates are available and installed.
2022-01-22 15:58:44 +00:00
![image ](https://user-images.githubusercontent.com/96626929/150645599-9460def4-0818-4fe9-819c-dd7081ff8447.png )
2022-01-21 08:36:07 +00:00
## Intallation
2022-01-30 15:27:28 +00:00
Just [download project ](https://github.com/Romanitho/Winget-AutoUpdate/archive/refs/heads/main.zip ), unzip, run install.bat as admin.
2022-01-18 08:53:53 +00:00
2022-02-02 07:13:39 +00:00
## Configurations
2022-01-22 08:04:18 +00:00
### Keep some apps out of Winget-AutoUpdate
2022-01-22 08:48:33 +00:00
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):
2022-02-04 18:30:49 +00:00
Add (or remove) the apps' ID you want to disable autoupdate to 'excluded_apps.txt'. (File must be placed in scripts' installation folder, or re-run install.bat).
2022-01-22 08:04:18 +00:00
### Default install location
2022-01-28 00:22:27 +00:00
By default, scripts and componants will be placed in ProgramData location (inside a Winget-autoupdate folder). You can change this with script argument.
2022-01-22 08:08:06 +00:00
### Notification language
2022-01-22 09:02:13 +00:00
You can easily translate toast notifications by creating your locale xml config file (and share it with us :) ).
2022-01-22 08:48:33 +00:00
### When does the script run?
Scheduled task is set to run:
- At user logon
- At 6AM eveyday (with the -StartWhenAvailable option to be sure it is run at least once a day)
2022-01-22 09:02:13 +00:00
This way, even without connected user, powered on computers get updated anyway.
### Log location
You can find logs in install location, in log folder.
2022-01-21 08:36:07 +00:00
## Optimization
2022-01-28 00:21:51 +00:00
As scripting is not my main job, feel free to give us any suggestions or optimizations in code.