Mac-Set-Default-Apps
python
Our great sponsors
Mac-Set-Default-Apps | python | |
---|---|---|
3 | 9 | |
81 | 222 | |
- | 2.7% | |
0.0 | 7.3 | |
6 days ago | 17 days ago | |
Python | Shell | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mac-Set-Default-Apps
-
PSA: Monterey 12.3 update breaks Mac-Set-Default-Apps. I'm guessing it's the removal of Python 2.7
We use Mac-Set-Default-Apps script to set Adobe Reader as default PDF viewer, Chrome as default browser, and Outlook as default mail and calendar clients via a custom script in Mosyle MDM.
-
macOS Monterey 12.3 Update is now Available - Python 2.7 Removed & Universal Control Added!
PSA: This breaks Mac-Set-Default-Apps.
- Can you recommend an RMM solution that handles user profile settings?
python
-
How do I add Foundation module in Python3 on MacOS Ventura
Here it says Foundation is part of pyobjc which may be included in certain versions of python3 such as this https://github.com/macadmins/python - Looking at it now, it seems to set itself apart from the developer tools installation of python3 based on it's installation location. So my guess is that it isn't a module installed with CLT's python3.
-
Installing PKGs via Jamf, how can I "customize" the installer?
Installing python (the MacAdmins Foundation distribution of Python) would be as simple as uploading the installomator script to JSS, adding it as a policy payload with "macadminspython" as a parameter.
- What is your process for deploying Python?
-
Updtating Jamf Scripts to Work with Monterery 12.4
Sounds like the scripts you have may be written in Python 2, which as others have stated, was pulled in 12.3. You can try running one with a Python 2 or 3 interpreter to see. You could technically deploy your own Python 2 to people and update the shebangs on the scripts to reflect the updated Python binary location. But Python 2 has been deprecated since January 2020 so it's probably best to just update the scripts. I dealt with this myself and am by no means a programmer. We have a critical script that maps printers for people that I had to update. I used something called '2to3' which is I believe an official Python program that does its best to convert Python 2 code to Python 3 in an automated fashion. It did 99% of the work for me. My script was still failing, but it was just a variable that was being concatenated as a byte instead of a string. Once that was fixed it ran fine. And then we started deploying https://github.com/macadmins/python - as others have mentioned. And then just updated the shebang to point to where that Python gets installed as per their instructions.
- MacOS 12.3 Python support dropped
-
macOS Monterey 12.3 Update is now Available - Python 2.7 Removed & Universal Control Added!
Removed. I deployed macadmins Python3 https://github.com/macadmins/python and changed the shebang in scripts we use.
-
Python3 automated install
Check out https://github.com/macadmins/python
- Installing Python on client Macs
What are some alternatives?
outset - Automatically process packages, profiles, and scripts during boot, login, or on demand.
relocatable-python - A tool for building standalone relocatable Python.framework bundles
EvilOSX - An evil RAT (Remote Administration Tool) for macOS / OS X.
mcxToProfile - Convert macOS property lists, defaults and MCX into Configuration Profiles with Custom Settings payloads
SwiftDefaultApps - Replacement for RCDefaultApps, written in Swift.
scriptingosx-recipes
dev-setup - macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
Installomator - Installation script to deploy standard software on Macs
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
firmware_password_manager - A Python script to help Macintosh administrators manage the firmware passwords of their computers.
warehouse - The Python Package Index