From d8f83cda4e168cb2f3f2d37ad51af423522496b4 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 14 Aug 2023 18:10:27 +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 e299cfd..36ec870 100644 --- a/setup.py +++ b/setup.py @@ -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']: -- cgit v1.2.3