Commit Graph

4409 Commits

Author SHA1 Message Date
Greg Neagle 406af588c2 Fix downloadInstallerItem() 2024-09-06 13:27:37 -07:00
Greg Neagle 99e857a930 Merge branch 'Munki6dev' into swift-cli 2024-09-05 11:57:09 -07:00
Greg Neagle 93b26403d1 When processing optional_installs, correctly record installed_size if available instead of just duplicating installer_item_size 2024-09-05 11:56:47 -07:00
Greg Neagle e0471d4613 Formatting tweak with try/await 2024-09-05 11:52:46 -07:00
Greg Neagle dd09a7c75c Turn off diskspace warnings when processing optional_installs 2024-09-05 11:51:47 -07:00
Greg Neagle 0ddaad274f Merge branch 'Munki6dev' into swift-cli 2024-09-05 10:08:07 -07:00
Greg Neagle f0b2f9756e Bump version.plist for future release 2024-09-05 10:06:15 -07:00
Greg Neagle 2d34cbee2c Fix for displaying log window in front of the blurred background when MunkiStatus runs at/over the loginwindow 2024-09-05 09:57:57 -07:00
Greg Neagle d2f02bea8c Implement more of managedsoftwareupdate 2024-09-05 08:18:26 -07:00
Greg Neagle a1eb219df6 Simplify runPreOrPostScript() 2024-09-05 08:17:36 -07:00
Greg Neagle 6b373a5bdc Stub out some functions in munkilog 2024-09-05 08:16:46 -07:00
Greg Neagle 153a5c8256 Tweaks to pythonScriptRunning(), executableRunning(), and anotherManagedsoftwareupdateInstanceRunning() 2024-09-05 08:15:06 -07:00
Greg Neagle 0487e99820 Add another useful case to UpdateCheckResult enum 2024-09-05 08:13:26 -07:00
Greg Neagle 245068ed12 More process-info-related functions, and removing some calls to /bin/ps for this info 2024-09-04 13:50:00 -07:00
Greg Neagle b2e3c8603f More replacement of typealiased MunkiErrors 2024-09-04 13:44:52 -07:00
Greg Neagle 21408710c6 Remove unused/unneeded import 2024-09-04 13:43:08 -07:00
Greg Neagle 58937254b1 Add currentGUIUsers() function 2024-09-04 13:42:35 -07:00
Greg Neagle 3479598448 Implement a tiny bit more of managedsoftwareupdate 2024-09-03 14:15:29 -07:00
Greg Neagle ef13131b2b Adding bootstrapping functions 2024-09-03 14:14:09 -07:00
Greg Neagle cda1d155bf swiftformat tweak 2024-09-03 14:13:23 -07:00
Greg Neagle 77a9315dbd Make sure --id has a default value since it's intended to be optional 2024-09-03 11:55:02 -07:00
Greg Neagle fe2874d6bb Implement printConfigPlist() 2024-09-03 11:54:12 -07:00
Greg Neagle acce3a4514 Fix doFinishingTasks() to actually run the postflight 2024-09-03 11:23:40 -07:00
Greg Neagle f20308b410 Quiet some more compiler warnings (and fix a bug surfaced) 2024-09-03 11:22:40 -07:00
Greg Neagle c98a1fa18f More changes triggered by removing the typealiases of MunkiError 2024-09-03 11:21:43 -07:00
Greg Neagle db5f711b79 Implement option definitions for managedsoftwareupdate 2024-09-03 10:46:38 -07:00
Greg Neagle 1bf15e24af Abandon typealiases for MunkiError as they really add no additional info/utility 2024-09-03 10:45:32 -07:00
Greg Neagle 3a33e0f325 Implement more of managedsoftwareupdate 2024-09-03 08:10:31 -07:00
Greg Neagle 90c28704d6 Switch from PlistDict to struct for cleaner, more type-safe code 2024-09-03 08:09:45 -07:00
Greg Neagle d0ca43e354 Quiet some compiler warnings about unmodified variables 2024-09-03 08:08:06 -07:00
Greg Neagle a302f24079 Fix typo in variable name 2024-09-03 08:07:16 -07:00
Greg Neagle 1272384ef4 Initial implementation of installinfo functions 2024-09-02 09:48:54 -07:00
Greg Neagle a8648caa27 Function naming tweaks 2024-09-02 09:47:11 -07:00
Greg Neagle 17d8e78699 Implement more osinstaller functions 2024-09-02 09:46:05 -07:00
Greg Neagle 1a8b66092c Merge branch 'Munki6dev' into swift-cli 2024-08-29 15:01:31 -07:00
Greg Neagle ee5d52442b Add softwareupdate catalog for macOS 15 v6.6.1 2024-08-29 15:01:06 -07:00
Greg Neagle a01a1fcbb1 Merge branch 'Munki6dev' into swift-cli 2024-08-29 14:25:06 -07:00
Greg Neagle f36fceb46e When opening Software Update settings pane, first lower the level of the blurred backdrop windows so that the settings pane will actually display before the backdrop windows are closed 2024-08-29 11:49:54 -07:00
Greg Neagle 17d50aa614 Address issue where, if Managed Software Center was running, its main window was minimized into the Dock, and an aggressive notification was triggered, the blurred background would appear over all screens, but no main (update) window would be visible 2024-08-29 10:09:34 -07:00
Greg Neagle fe1cab8d12 Implment more managedsoftwareupdate support functions 2024-08-29 08:25:04 -07:00
Greg Neagle cee2d78acd Implement some more functions used by managedsoftwareupdate 2024-08-27 16:53:34 -07:00
Greg Neagle 362ca1442a Better DEBUG testing setup; fix munkilog to create a missing log file before attempting to append to it 2024-08-27 13:08:25 -07:00
Greg Neagle 1920910179 updatecheck now largely functional 2024-08-27 07:54:13 -07:00
Greg Neagle 15d706c5c8 Fix processManifest() to actually get catalogs 2024-08-25 13:47:01 -07:00
Greg Neagle e88576d4dd Add exception reason return from objCpredicateEvaluatesAsTrue() 2024-08-24 17:37:01 -07:00
Greg Neagle ce20a4600c Implement NSPredicate evaluation in Objective-C so we can catch NSExceptions 2024-08-24 16:21:51 -07:00
Greg Neagle 18066932cb Implementing more of the updatecheck functions 2024-08-23 18:51:50 -07:00
Greg Neagle 096857381c Fix for os_vers_major/minor/patch facts (should be Int and not String) 2024-08-23 18:51:06 -07:00
Greg Neagle f36981d090 Use managedInstallsDir() function to build path to report plist 2024-08-23 18:50:11 -07:00
Greg Neagle 61869741ad New stringPref, boolPref and intPref functions; and a temporary hack to managedInstallsDir() to aid in testing 2024-08-23 18:49:15 -07:00