ww
This commit is contained in:
@@ -97,7 +97,7 @@ class Application:
|
||||
if compare_res['confidence'] > 50.0:
|
||||
print("锁屏状态下,是管理员,所以需要进行解锁....")
|
||||
Config.is_locked = False
|
||||
# sudo("say '欢迎,正在自动解锁中!'")
|
||||
sudo("say '欢迎,正在自动解锁中!'")
|
||||
unlock()
|
||||
else:
|
||||
sudo("say '不是管理员,无法解锁!'")
|
||||
|
||||
Reference in New Issue
Block a user