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

Python is used in script #56

Open
sjurlohne opened this issue May 19, 2022 · 1 comment
Open

Python is used in script #56

sjurlohne opened this issue May 19, 2022 · 1 comment

Comments

@sjurlohne
Copy link

Describe the bug
The script generated by Set-Up Helper uses python to set the CURRENT_USER variable

To Reproduce
Steps to reproduce the behavior:

  1. Open DEPNotify Set-Up Helper
  2. Generate script
  3. Open script and search for 'python'
  4. See error:
    /usr/bin/python -c 'from SystemConfiguration import SCDynamicStoreCopyConsoleUser; import sys; username = (SCDynamicStoreCopyConsoleUser(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username + "\n");'

Software Versions (please complete the following information):
Python is deprecated in macOS >12.3

@jorks
Copy link

jorks commented May 23, 2022

Hey @sjurlohne,

The latest script release on this repo has removed the python dependency.
https://github.com/jamf/DEPNotify-Starter/releases/tag/v2.0.7

Note that the changes to the logic are at both the CURRENT_USER section and the open DEP Notify section.

Hope this helps :)

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

No branches or pull requests

2 participants