Releases: mpanighetti/install-or-defer
Releases · mpanighetti/install-or-defer
Install or Defer 4.1.1
- updated deferral deadline text to show days instead of hours when > 48 hours remain #50
Install or Defer 4.1
- added comma-separated list of pending software updates to display in user-facing dialog boxes
- added basic Apple Silicon architecture support #45
- script prompts for manual update action, opens System Preferences - Software Update, and repeats until no recommended updates are detected or the system is restarted
- moved
check_for_updates
run beforeFORCE_DATE
check (prevents the deferral countdown clock from starting until after update cache has finished on first script run) - switched default logo path to use
/System/Library/PreferencePanes/SoftwareUpdate.prefPane/Contents/Resources/SoftwareUpdate.icns
(Big Sur does not have an icon for the Software Update app)
Install or Defer 4.0.2
- switched network connectivity check to use
netcat
(addresses issue whereping
is blocked on some networks) - switched URL check from OpenDNS IP to swscan.apple.com for more targeted software update service availability confirmation
Install or Defer 4.0.1
- rewrote preinstall script in POSIX Shell (ensures forward compatibility)
Install or Defer 4.0
- added macOS Big Sur support
- removed
%UPDATE_MECHANISM%
strings (mechanism will be consistent on all supported macOS versions in the near future) - updated wording in message strings
- renamed plist attributes
- removed legacy resource file and package receipt references
- README formatting improvements
- removed CHANGELOG (GitHub releases serve this function better)
Install or Defer 3.0.2
Changed
- removed
CatalogURL
check from macOS 11+ (custom catalog URL definition is deprecated in Catalina and not supported in Big Sur) - removed all Python calls to prepare for eventual Python runtime removal in future macOS releases
- replaced managed preferences read commands with
defaults read
pointed at the/Library/Managed Preferences/
file path
- replaced managed preferences read commands with
- restored
StartInterval
attribute read- added comment for context of purpose
- replaced
[ERROR]
with❌ ERROR:
in script output - added full binary paths (except for built-ins)
- double-quote-surrounded file paths and variables
- removed error code parsing to avoid ShellCheck flags
- removed
shellcheck disable
definitions - updated ShellCheck job to use latest version of azohra/shell-linter
- separated optional content from required in README for improved legibility
Install or Defer 3.0.1
Changed
- removed unused
StartInterval
attribute read - preinstall script only attempts to forget legacy package receipt if it is present on the system
- postinstall script sets LaunchDaemon ownership and permissions (in case files were modified prior to distribution and ownership/permissions were not properly set) #36
- removed logger code from preinstall and postinstall scripts
- changed postinstall script to POSIX Shell
Install or Defer 3.0
Changed
- transitioned bundle ID (and all associated file names and references) to
com.github.mpanighetti
- renamed script to match project name
- preinstall script removes both legacy and current resource files via array
Removed
- removed macOS Sierra support
install-or-defer 2.3.4
Changed
clean_up
function no longer unloads primary LaunchDaemon ahead of triggering system restart or shutdown #33- moved primary LaunchDaemon unload to
exit_without_updating
- moved primary LaunchDaemon unload to
clean_up
function moves all script resources to/private/tmp/install-or-defer