Skip to content

Releases: mpanighetti/install-or-defer

Install or Defer 4.1.1

28 May 22:37
bd66182
Compare
Choose a tag to compare
  • updated deferral deadline text to show days instead of hours when > 48 hours remain #50

Install or Defer 4.1

10 Mar 21:35
96c3119
Compare
Choose a tag to compare
  • 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 before FORCE_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

17 Dec 19:16
Compare
Choose a tag to compare
  • switched network connectivity check to use netcat (addresses issue where ping 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

10 Dec 05:55
b372fd2
Compare
Choose a tag to compare
  • rewrote preinstall script in POSIX Shell (ensures forward compatibility)

Install or Defer 4.0

09 Dec 00:05
8578347
Compare
Choose a tag to compare
  • added macOS Big Sur support
    • blocked Apple Silicon support until script can be validated and updated to support that platform architecture #45
    • added --restart flag to softwareupdate command for macOS Big Sur #47
  • 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

09 Jul 22:32
Compare
Choose a tag to compare

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
  • 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

03 Apr 00:27
624e83c
Compare
Choose a tag to compare

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

30 Jan 21:46
Compare
Choose a tag to compare

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

22 Jan 00:50
90af1a6
Compare
Choose a tag to compare

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
  • clean_up function moves all script resources to /private/tmp/install-or-defer

install-or-defer 2.3.3

04 Nov 22:36
6b5a99b
Compare
Choose a tag to compare

Added

  • added macOS Catalina support
    • accounted for new softwareupdate syntax #32
    • added explicit 10.15 support in version compatibility check #25
  • removed legacy launchctl syntax