File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,8 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
161
161
}
162
162
163
163
// TODO: read from config file
164
- #define MAX_SLEEP_SECONDS (45 * 60 ) // 45 minutes
165
- #define MAX_AWAKE_SECONDS (3 * 60 ) // 3 minutes
164
+ #define MAX_SLEEP_SECONDS (60 * 60 ) // 60 minutes
165
+ #define MAX_AWAKE_SECONDS (1 * 60 ) // 1 minutes
166
166
167
167
bool g_isAwake = false ; // awake, aka is shown on the screen
168
168
int g_sleptSeconds = 0 ; // has slept for # seconds
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ set disabled=1
9
9
REG QUERY HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v restclock > nul 2 >& 1
10
10
11
11
if %errorlevel% == 0 (
12
- echo 已设置自启动 ,取消自启动?
12
+ echo 已设置开机自启动 ,取消自启动?
13
13
set disabled = 0
14
14
) else (
15
- echo 未设置自启动 ,设置自启动?
15
+ echo 未设置开机自启动 ,设置自启动?
16
16
)
17
17
18
18
echo=
19
- CHOICE /C YC /M " 确认请按 Y,取消请按 C。"
19
+ CHOICE /C YC /M " 确认请按 Y,退出请按 C。"
20
20
21
21
if %errorlevel% == 1 (
22
22
if %disabled% == 0 (
You can’t perform that action at this time.
0 commit comments