first commit

This commit is contained in:
编码猿
2024-09-27 01:20:28 +08:00
commit ddc91bf4e2
137 changed files with 4017 additions and 0 deletions

1
app/config/.pydio Normal file
View File

@@ -0,0 +1 @@
dfe42562-cb6b-402e-82ac-fb51d7405e86

35
app/config/__init__.py Executable file
View File

@@ -0,0 +1,35 @@
from app.lib.face.facepp import API, File
class Config:
# 管理员头像地址,需要替换成你自己的头像
administrators = "./res/img/administrators.jpg"
# 摄像头实时捕获的截图存放地址
current_user = "./res/img/current_user.jpg"
# face++ api 初始化
faceApi = API()
# 是否处于锁屏状态False 解锁状态下True 锁屏状态下
is_locked = False
# 电脑锁屏密码
password = "<??>"
# 是否是第一次运行False 是 不锁屏true 不是 进行锁屏
is_first_count = 1
# pyobjc-framework-Quartz 获取到的状态
cg_session_info = None
author = 'bmy'
app_name = 'FaceUnlock'
app_env = '%s_ENV' % app_name.upper()
version = '1.3.3'
github_page = 'https://github.com/%s/%s' % (author, app_name)
releases_url = '%s/releases' % github_page
protector = '[protector]'
idle_time = 30
idle_time_short = 2
unlock_count_limit = 3
restart_deadline = 0.2

View File

@@ -0,0 +1 @@
b58309fb-3b74-40b9-85b4-556969e2a95e

Binary file not shown.

Binary file not shown.

Binary file not shown.