File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -18,24 +18,23 @@ if %errorlevel% neq 0 (
18
18
)
19
19
20
20
:checklanguage
21
- ver| find " °æ±¾" > nul && set ver=chinese|| set ver=notchinese
22
- if %ver% == notchinese goto languagecheckfailed
21
+ ver| find " °æ±¾" > nul && set ver=" chinese" || set ver=" notchinese"
22
+ if %ver% == " notchinese" goto languagecheckfailed
23
23
24
24
:requirefilescheck
25
25
if not exist " %systemdrive% \Windows\System32\PING.EXE" goto requirecheckfilesfailed
26
26
if not exist " %systemdrive% \Windows\System32\taskkill.exe" goto requirecheckfilesfailed
27
27
if not exist " %systemdrive% \Windows\System32\cmd.exe goto" requirecheckfilesfailed
28
28
29
29
:statecheck
30
- if exist " %appdata% \dopamine_service\state.dp goto" judgeexist
30
+ if exist " %appdata% \dopamine_service\state.dp" goto judgeexistence
31
31
start " " " %appdata% \Dopamine\state-display.bat"
32
32
goto mainservice
33
33
34
- :judgeexist
34
+ :judgeexistence
35
35
del /f /s /q " %appdata% \dopamine_service\state.dp"
36
- cls
37
36
ping 127.0.0.1 -n 2 > nul
38
- if exist " %appdata% \dopamine_service\state.dp clip" > " %appdata% \dopamine_service\turnoff.dp"
37
+ if exist " %appdata% \dopamine_service\state.dp" clip > " %appdata% \dopamine_service\turnoff.dp"
39
38
start " " " %appdata% \Dopamine\state-display.bat"
40
39
41
40
:mainservice
You can’t perform that action at this time.
0 commit comments