Major refactor of logic to add support for new functionality:
* Script can now Replace and Remove existing (matching) Shortcuts
* Renamed Script; mainly as I left it open to support more shortcut types, but probably should just utilize MDM native functionality instead
* Moved chunks of code into functions
- Removed unnecessary code/logic
Major refactor of logic to add support for new functionality:
* Script can now Replace and Remove existing (matching) Shortcuts
* Renamed Script; mainly as I left it open to support more shortcut types, but probably should just utilize MDM native functionality instead
* Moved chunks of code into functions
- Removed unnecessary code/logic
+ Improved logic flow so that the "check if shortcut already exists" is performed before creating the shortcut
* Minor changes to verbosity
* Adjusted line lengths in code
+ Updated logic that determines the current console user to no longer use the old Python method
+ Python3 compatibility; allow setting of a custom Python binary path
+ Renamed script
+ Resolved issue that caused duplicate shortcuts in the Dock
+ Corrected the For loop to start at zero (in case the user moves the order of Dock icons -- "Downloads" is "0" by default)
+ Added and structured verbosity
v2.0 = Forked original LoginScript.sh and repurposed as an Enrollment Configuration Script.
v2.1 = Added Munki support for Apple Software Updates.
v2.2 = Forking from here to point to specific Munki Manifests. Configured for Staff Manifest.