Update updater
This commit is contained in:
@@ -199,7 +199,8 @@ func LoadLocalHashes(path string) (*sync.Map, error) {
|
|||||||
line := scanner.Text()
|
line := scanner.Text()
|
||||||
parts := strings.Split(line, " ")
|
parts := strings.Split(line, " ")
|
||||||
if len(parts) != 2 {
|
if len(parts) != 2 {
|
||||||
return nil, fmt.Errorf("invalid line: %s", line)
|
Warning.Printf("invalid line: %s", line)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
hashes.Store(parts[0], parts[1])
|
hashes.Store(parts[0], parts[1])
|
||||||
count++
|
count++
|
||||||
|
BIN
updater/updater.exe
(Stored with Git LFS)
BIN
updater/updater.exe
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user