Add warning if current InfiniTime doesn't support BLE FS (#29)

This commit is contained in:
Elara 2022-10-17 12:40:51 -07:00
parent cdc5d22867
commit 1231dd5308

View File

@ -6,6 +6,7 @@ import (
"time"
"github.com/cheggaaa/pb/v3"
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v2"
"go.arsenm.dev/itd/api"
)
@ -20,6 +21,7 @@ func fwUpgrade(c *cli.Context) error {
err = resLoad(c.Context, []string{absRes})
if err != nil {
log.Error().Msg("Resource loading has returned an error. This can happen if your current version of InfiniTime doesn't support BLE FS. Try updating without resource loading, and then load them after using the `itctl res load` command.")
return err
}
}