optimise sign
This commit is contained in:
parent
983b0db171
commit
d2023a5789
@ -167,15 +167,15 @@ func signFiles(path string) {
|
|||||||
|
|
||||||
count := 0
|
count := 0
|
||||||
totalCount := len(files)
|
totalCount := len(files)
|
||||||
filePath := "\""
|
filePath := ""
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
totalCount--
|
totalCount--
|
||||||
if count < 100 && totalCount > 0 {
|
if count < 10 && totalCount > 0 {
|
||||||
count++
|
count++
|
||||||
filePath = filePath + " " + path + file
|
filePath = filePath + " " + path + file
|
||||||
} else {
|
} else {
|
||||||
count = 0
|
count = 0
|
||||||
filePath = filePath + " " + path + file + "\""
|
filePath = filePath + " " + path + file
|
||||||
signQueue <- filePath
|
signQueue <- filePath
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user