Skip to content

Python is used in script #56

Description

@sjurlohne

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions