Skip to content

Commit

Permalink
2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grahampugh committed Aug 30, 2022
1 parent 006c967 commit fe3ce78
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

No date

## [2.2]

30.08.2022

- Add `--include-config-data` to the `softwareupdate --list` command.

## [2.1]

21.04.2022
Expand Down Expand Up @@ -89,7 +95,8 @@ Changed the default button of the jamfHelper dialogs to Cancel, because after ti

Also shortened the timeout to 82800 from 99999 seconds to prevent overlap of two days' dialogs.

[untagged]: https://github.com/grahampugh/nice-updater/compare/v2.1...HEAD
[untagged]: https://github.com/grahampugh/nice-updater/compare/v2.2...HEAD
[2.2]: https://github.com/grahampugh/nice-updater/compare/v2.1...v2.2
[2.1]: https://github.com/grahampugh/nice-updater/compare/v2.0.3...v2.1
[2.0.3]: https://github.com/grahampugh/nice-updater/compare/v2.0.2...v2.0.3
[2.0.2]: https://github.com/grahampugh/nice-updater/compare/v2.0.1...v2.0.2
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
identifier="com.github.grahampugh.nice_updater"

# Default version of the build, you can leave this alone and specify as an argument like so: ./build.sh 1.7
version="2.1"
version="2.2"

# The title of the message that is displayed when software updates are in progress and a user is logged in
updateRequiredTitle="macOS Software Updates Required"
Expand Down
4 changes: 2 additions & 2 deletions nice_updater.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Nice Updater 2
version="2.1.0"
version="2.2"

# These variables will be automagically updated if you run build.sh, no need to modify them
preferenceFileFullPath="/Library/Preferences/com.github.grahampugh.nice_updater.prefs.plist"
Expand Down Expand Up @@ -172,7 +172,7 @@ update_check() {
osVersion=$( /usr/bin/sw_vers -productVersion )
writelog "Determining available Software Updates for macOS $osVersion..."
update_file="/tmp/nice_updater_updates.txt"
/usr/sbin/softwareupdate --list > "$update_file"
/usr/sbin/softwareupdate --list --include-config-data > "$update_file"

# create list of updates that do not require a restart
updatesNoRestart=()
Expand Down

0 comments on commit fe3ce78

Please sign in to comment.