...
This commit is contained in:
@@ -89,7 +89,7 @@ fun SettingsScreen(onAuthSuccess: () -> Unit) {
|
||||
val now = java.time.LocalTime.now(java.time.ZoneId.of("Asia/Seoul"))
|
||||
// 08:30 ~ 15:30 사이이고, 키값이 최소한 하나라도 존재할 때 자동 실행
|
||||
if (now.isAfter(java.time.LocalTime.of(8, 30)) && now.isBefore(java.time.LocalTime.of(15, 30))) {
|
||||
if (config.realAppKey.isNotEmpty() || config.vtsAppKey.isNotEmpty()) {
|
||||
if (config.realAppKey.isNotEmpty() && config.vtsAppKey.isNotEmpty() && config.embedModelPath.isNotEmpty() && config.modelPath.isNotEmpty()) {
|
||||
SystemSleepPreventer.wakeDisplay() // 모니터 켜기
|
||||
statusMessage = "⏰ 자동 실행 시간(08:30)입니다. 시스템을 가동합니다."
|
||||
authenticateAndStart()
|
||||
|
||||
Reference in New Issue
Block a user