@@ -1,7 +1,7 @@
|
||||
package ui
|
||||
|
||||
import (
|
||||
"epochsilicon/pkg/debug"
|
||||
"epochsilicon/pkg/log"
|
||||
"git.burkey.co/eburk/epochcli/pkg/epoch"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@@ -108,13 +108,13 @@ func updateEpochStatus() {
|
||||
|
||||
// Check for Epoch-specific files
|
||||
epochPatchesApplied := false
|
||||
stats, err := epoch.Update(paths.EpochPath, false, true, true)
|
||||
if err != nil {
|
||||
debug.Printf("Failed to get download Epoch patches: %v", err)
|
||||
}
|
||||
if stats.Outdated == 0 {
|
||||
debug.Println("Nothing is outdated")
|
||||
epochPatchesApplied = true
|
||||
stats := epoch.Update(paths.EpochPath, false, true, true)
|
||||
if stats.Error != nil {
|
||||
log.Error(stats.Error.Error())
|
||||
} else {
|
||||
if stats.Outdated == 0 {
|
||||
epochPatchesApplied = true
|
||||
}
|
||||
}
|
||||
|
||||
// Check if patched files have the correct size (matches bundled versions)
|
||||
|
Reference in New Issue
Block a user