This is to merge the fork that I added deferral functionality to. This is the same as the latest version I last sent you a couple of weeks ago.
Just a recap for the PR documentation:
This new function allows you to display a notification to the user that updates are available after the discovery stage, and allows the user to defer the installation until a later time. It's recommended to set interactiveMode=1 if the deferral function is enabled so the discovery stage is done silently prior to notifying the user that updates are available to install.
The deferral functionality is disabled by default using the variable `maxDeferrals="Disabled," so the script functions normally unless that variable is specifically given a numerical value.
Variables:
maxDeferrals: Set to Disabled as default, set to a numerical value to prompt a user to install patches with the option to defer by the number set in this variable
deferralTimer: The number of seconds the deferral prompt is displayed before automatic action is taken
deferralTimerAction: The action to take when the deferralTimer expires (Defer or Continue)
Config files:
aapAutoPatchDeferralFile: used to store the maxDeferrals and remainingDeferrals values
This is to merge the fork that I added deferral functionality to. This is the same as the latest version I last sent you a couple of weeks ago.
Just a recap for the PR documentation: This new function allows you to display a notification to the user that updates are available after the discovery stage, and allows the user to defer the installation until a later time. It's recommended to set interactiveMode=1 if the deferral function is enabled so the discovery stage is done silently prior to notifying the user that updates are available to install.
The deferral functionality is disabled by default using the variable `maxDeferrals="Disabled," so the script functions normally unless that variable is specifically given a numerical value.
Variables:
Config files:
Screenshot of the deferral prompt:![image](https://github.com/robjschroeder/App-Auto-Patch/assets/132794591/c2122d5a-756c-4485-ae80-a302676b1c0e)