Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outset 4.0.4 #32

Merged
merged 10 commits into from
Jul 26, 2023
Merged

Outset 4.0.4 #32

merged 10 commits into from
Jul 26, 2023

Conversation

bartreardon
Copy link
Contributor

@bartreardon bartreardon commented Jul 11, 2023

Why not 4.0.3? Excellent question.

This release fixes a bunch of things.

  • adds LaunchOnlyOnce to login-window.plist
  • adds marketing model to debug output (apple silicon only)
  • moves default preference when running as root to /Library/Preferences/ instead of /var/root/Library/Preferences/. Makes an attempt at moving settings saved in /var/root/ over if the old preferences file is detected
  • --compute-sha is now --checksum
  • add-overide and remove-overide are now add-override and remove-override
  • renamed arguments are still accessible under their old values for compatibility but are a hidden
  • Fixed an issue where the wrong prefs were being read and resulting in an incorrect comparison
  • some code cleanup and linting

…re login window tasks were executing continuously.
refactor sha256sum to checksum
removed old preference definitions, some of which were being used in-code. Since these were never being populated they would not evaluate and conditional code was not being run as a result.
…rary/Preferences instead of /var/root/Library/Preferences. This fixes a bunch of expected behaviour like using `--add-ignored-user` and having it correctly apply to all users on the system and not just when run in a user context.
added some additional debug logging
updated loadPreferences function to force load from `/Library/Preferences/io.macadmins.Outset.plist` if running as root
update loginOnce processing to pass in any overrides. also added some extra debug logging to inform if the console user is in the ignored list
…rences` and not to `/var/root/Library/Preferences`

Added logic to migrateLegacyPreferences if they exist (issue in initial 4.0 to 4.0.2 using UserDefaults which results in preferences being written to `/var/root/Library/Preferences` which is problematic for settings that all users might need to access.
@erikng erikng self-requested a review July 12, 2023 15:56
@bartreardon bartreardon requested review from jessepeterson, grahamgilbert and a team July 25, 2023 22:19
@bartreardon
Copy link
Contributor Author

I just spammed a bunch of people for a review if anyone is available to take a look. If not, I'm happy to bypass branch protections and merge anyway but figure having someone look over is a good habit to get in to 🙂

Copy link
Member

@natewalck natewalck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unblocking

@bartreardon bartreardon merged commit 008229a into main Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants