|
@@ -8,7 +8,12 @@ static void handle(PluginState* plugin_state, FuriString* args, Cli* cli) {
|
|
|
UNUSED(cli);
|
|
UNUSED(cli);
|
|
|
UNUSED(plugin_state);
|
|
UNUSED(plugin_state);
|
|
|
TOTP_CLI_PRINTF(
|
|
TOTP_CLI_PRINTF(
|
|
|
- "%" PRIu8 ".%" PRIu8 ".%" PRIu8 "\r\n",
|
|
|
|
|
|
|
+ "%" PRIu8 ".%" PRIu8 ".%" PRIu8
|
|
|
|
|
+#ifdef TOTP_APP_VERSION_META
|
|
|
|
|
+ "+"
|
|
|
|
|
+ TOTP_APP_VERSION_META
|
|
|
|
|
+#endif
|
|
|
|
|
+ "\r\n",
|
|
|
TOTP_APP_VERSION_MAJOR,
|
|
TOTP_APP_VERSION_MAJOR,
|
|
|
TOTP_APP_VERSION_MINOR,
|
|
TOTP_APP_VERSION_MINOR,
|
|
|
TOTP_APP_VERSION_PATCH);
|
|
TOTP_APP_VERSION_PATCH);
|
|
@@ -24,4 +29,4 @@ static const FlipperAppPluginDescriptor plugin_descriptor = {
|
|
|
|
|
|
|
|
const FlipperAppPluginDescriptor* totp_cli_version_plugin_ep() {
|
|
const FlipperAppPluginDescriptor* totp_cli_version_plugin_ep() {
|
|
|
return &plugin_descriptor;
|
|
return &plugin_descriptor;
|
|
|
-}
|
|
|
|
|
|
|
+}
|