Skip to content

Commit

Permalink
fix shebang and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Dec 12, 2019
1 parent 2e4e500 commit 04f24a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion payload/Library/umad/Resources/umad
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/Library/cpe/frameworks/Python.framework/Versions/3.8/bin/python3
#!/Library/umad/frameworks/Python.framework/Versions/3.8/bin/python3
# -*- coding: utf-8 -*-
'''umad - python wrapper for UAMDM/DEP enrollment and annoying the users to
actually enroll.'''
Expand Down Expand Up @@ -303,6 +303,7 @@ def umadlog(text):
'''logger for umad'''
Foundation.NSLog('[UMAD] ' + text)


def get_parsed_options():
'''Return the parsed options and args for this application.'''
# Options
Expand Down
3 changes: 2 additions & 1 deletion payload/Library/umad/Resources/umad_check_dep_record
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/Library/cpe/frameworks/Python.framework/Versions/3.8/bin/python3
#!/Library/umad/frameworks/Python.framework/Versions/3.8/bin/python3
import os
import platform
import plistlib
import subprocess
import time
import Foundation
from distutils.version import LooseVersion
from shutil import copyfile

Expand Down
3 changes: 2 additions & 1 deletion payload/Library/umad/Resources/umad_trigger_nag
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/Library/cpe/frameworks/Python.framework/Versions/3.8/bin/python3
#!/Library/umad/frameworks/Python.framework/Versions/3.8/bin/python3
# encoding: utf-8
import os
import platform
import subprocess
import time
import Foundation
from distutils.version import LooseVersion


Expand Down

0 comments on commit 04f24a3

Please sign in to comment.