23 lines
904 B
Diff
23 lines
904 B
Diff
--- a/cmd/goanime/main.go
|
|
+++ b/cmd/goanime/main.go
|
|
@@ -16,7 +16,6 @@ import (
|
|
"github.com/alvarorichard/Goanime/v2/internal/player"
|
|
"github.com/alvarorichard/Goanime/v2/internal/scraper/cfsolver"
|
|
"github.com/alvarorichard/Goanime/v2/internal/tui"
|
|
- "github.com/alvarorichard/Goanime/v2/internal/updater"
|
|
"github.com/alvarorichard/Goanime/v2/internal/util"
|
|
"golang.org/x/term"
|
|
)
|
|
@@ -49,11 +48,6 @@ func main() {
|
|
return
|
|
}
|
|
|
|
- // Finish housekeeping from a previous --update: remove the backup and
|
|
- // staged files only after this binary has started and its digest matches
|
|
- // the one recorded by the updater. No marker means nothing to clean up.
|
|
- updater.CleanupAfterUpdate()
|
|
-
|
|
// The sources the user switched on or off in the SOURCES screen. A file
|
|
// that cannot be read is reported and ignored: sources keep their defaults.
|
|
if err := util.LoadSavedSourcePrefs(); err != nil {
|