Skip to content

Commit

Permalink
feat(main): adding a misc to make a better integration in new navigation
Browse files Browse the repository at this point in the history
table and this code
  • Loading branch information
KitsuneSemCalda committed Jan 27, 2024
1 parent 157fa39 commit 1f8f691
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ func main() {
}

animeSearcher := network.AnimeSearcher{AnimeName: animeName}
animeURL, animeSelectedName, err := animeSearcher.SearchAnimeInAnimeFire()
animeSelectedName, animeURL := animeSearcher.SearchAnimeInAnimeFire()

if runtime.GOOS != "windows" {
destPath = filepath.Join("/chromeMedia/Series/", utils.SplitAnimeName(animeSelectedName))
} else {
userProfile := os.Getenv("USERPROFILE")
destPath = filepath.Join(userProfile, "chromeMedia\\Series\\", utils.SplitAnimeName(animeSelectedName))
}
if err != nil {
message.ErrorMessage("Failed to Locate anime")
}

anime := network.Anime{URL: animeURL}
epList := anime.GetEpisodes()
Expand Down

0 comments on commit 1f8f691

Please sign in to comment.