Skip to content

Commit

Permalink
update download theme function
Browse files Browse the repository at this point in the history
  • Loading branch information
yorukot committed Apr 14, 2024
1 parent c4a0880 commit 19a3ee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ func downloadAndInstallTheme(dir, zipName, zipUrl, zipFolder string) error {
err = Unzip(filepath.Join(SuperFileMainDir, zipName), dir)
if err != nil {
return err
} else {
os.Remove(filepath.Join(SuperFileMainDir, zipName))
}
os.Remove(filepath.Join(SuperFileMainDir, zipName))
}
return nil
}
Expand Down

0 comments on commit 19a3ee8

Please sign in to comment.