upd
This commit is contained in:
@@ -232,7 +232,7 @@ func handleVerticalImage(currentImagePath string, height int) {
|
||||
vertical8KImageList = append(vertical8KImageList, currentImagePath)
|
||||
} else if height < 10000 {
|
||||
vertical9KImageList = append(vertical9KImageList, currentImagePath)
|
||||
} else if height > 10000 {
|
||||
} else if height >= 10000 { // 提示请忽略
|
||||
verticalHKImageList = append(verticalHKImageList, currentImagePath)
|
||||
}
|
||||
}
|
||||
@@ -280,7 +280,7 @@ func handleHorizontalImage(currentImagePath string, width int, height int) {
|
||||
horizontal8KImageList = append(horizontal8KImageList, currentImagePath)
|
||||
} else if width < 10000 {
|
||||
horizontal9KImageList = append(horizontal9KImageList, currentImagePath)
|
||||
} else if width > 10000 {
|
||||
} else if width >= 10000 { // 提示请忽略
|
||||
horizontalHKImageList = append(horizontalHKImageList, currentImagePath)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,15 +18,16 @@ func main() {
|
||||
fmt.Println("=== 获取当前路径异常", err)
|
||||
return
|
||||
}
|
||||
rootDir = "E:\\DGD\\UnHandleHentaiImage"
|
||||
scanner := core.FileScanner{}
|
||||
scanner.DoScan(rootDir)
|
||||
scanner.DoFilter()
|
||||
if len(vars.GlobalImagePathList) > 0 {
|
||||
core.DoHandleImage(rootDir)
|
||||
}
|
||||
if len(vars.GlobalVideoPathList) > 0 {
|
||||
core.DoHandleVideo(rootDir)
|
||||
}
|
||||
//if len(vars.GlobalVideoPathList) > 0 {
|
||||
// core.DoHandleVideo(rootDir)
|
||||
//}
|
||||
fmt.Println("=== 5s后自动退出")
|
||||
time.Sleep(time.Second * 5)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user