upd
This commit is contained in:
Binary file not shown.
@@ -18,16 +18,15 @@ func main() {
|
|||||||
fmt.Println("=== 获取当前路径异常", err)
|
fmt.Println("=== 获取当前路径异常", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
rootDir = "E:\\DGD\\UnHandleHentaiImage"
|
|
||||||
scanner := core.FileScanner{}
|
scanner := core.FileScanner{}
|
||||||
scanner.DoScan(rootDir)
|
scanner.DoScan(rootDir)
|
||||||
scanner.DoFilter()
|
scanner.DoFilter()
|
||||||
if len(vars.GlobalImagePathList) > 0 {
|
if len(vars.GlobalImagePathList) > 0 {
|
||||||
core.DoHandleImage(rootDir)
|
core.DoHandleImage(rootDir)
|
||||||
}
|
}
|
||||||
//if len(vars.GlobalVideoPathList) > 0 {
|
if len(vars.GlobalVideoPathList) > 0 {
|
||||||
// core.DoHandleVideo(rootDir)
|
core.DoHandleVideo(rootDir)
|
||||||
//}
|
}
|
||||||
fmt.Println("=== 5s后自动退出")
|
fmt.Println("=== 5s后自动退出")
|
||||||
time.Sleep(time.Second * 5)
|
time.Sleep(time.Second * 5)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user