Update mw.py

This commit is contained in:
dami
2025-05-19 02:40:33 +08:00
parent b1edc7b2fb
commit d26bf25359
+2 -2
View File
@@ -1328,8 +1328,8 @@ def getAcmeDir():
cmd = "who | sed -n '2, 1p' |awk '{print $1}'"
user = execShell(cmd)[0].strip()
acme = '/Users/' + user + '/.acme.sh'
if not os.path.exists(acme):
acme = '/.acme.sh'
# if not os.path.exists(acme):
# acme = '/.acme.sh'
return acme