MX 1 год назад
Родитель
Сommit
2176d60767
5 измененных файлов с 6 добавлено и 5 удалено
  1. 1 1
      application.fam
  2. 2 1
      cli/cli_shared_methods.c
  3. 1 1
      cli/cli_shared_methods.h
  4. 1 1
      cli/plugins/export/export.c
  5. 1 1
      version.h

+ 1 - 1
application.fam

@@ -7,7 +7,7 @@ App(
     requires=["gui", "cli", "dialogs", "storage", "input", "notification", "bt"],
     requires=["gui", "cli", "dialogs", "storage", "input", "notification", "bt"],
     stack_size=2 * 1024,
     stack_size=2 * 1024,
     order=20,
     order=20,
-    fap_version="5.140",
+    fap_version="5.141",
     fap_author="Alexander Kopachov (@akopachov)",
     fap_author="Alexander Kopachov (@akopachov)",
     fap_description="Software-based TOTP/HOTP authenticator for Flipper Zero device",
     fap_description="Software-based TOTP/HOTP authenticator for Flipper Zero device",
     fap_weburl="https://github.com/akopachov/flipper-zero_authenticator",
     fap_weburl="https://github.com/akopachov/flipper-zero_authenticator",

+ 2 - 1
cli/cli_shared_methods.c

@@ -26,7 +26,8 @@ bool totp_cli_ensure_authenticated(const PluginState* plugin_state, Cli* cli) {
     return true;
     return true;
 }
 }
 
 
-void totp_cli_force_close_app(FuriMessageQueue* event_queue) {
+void totp_cli_force_close_app(void* ctx) {
+    FuriMessageQueue* event_queue = ctx;
     PluginEvent event = {.type = EventForceCloseApp};
     PluginEvent event = {.type = EventForceCloseApp};
     furi_message_queue_put(event_queue, &event, FuriWaitForever);
     furi_message_queue_put(event_queue, &event, FuriWaitForever);
 }
 }

+ 1 - 1
cli/cli_shared_methods.h

@@ -20,7 +20,7 @@ bool totp_cli_ensure_authenticated(const PluginState* plugin_state, Cli* cli);
  * @brief Forces application to be instantly closed
  * @brief Forces application to be instantly closed
  * @param event_queue main app queue
  * @param event_queue main app queue
  */
  */
-void totp_cli_force_close_app(FuriMessageQueue* event_queue);
+void totp_cli_force_close_app(void* ctx);
 
 
 /**
 /**
  * @brief Reads line of characters from console
  * @brief Reads line of characters from console

+ 1 - 1
cli/plugins/export/export.c

@@ -41,7 +41,7 @@ static void print_uri_component(const char* data, size_t length) {
            c == '-' || c == '_') {
            c == '-' || c == '_') {
             putchar(c);
             putchar(c);
         } else {
         } else {
-            printf("%%%x", c);
+            printf("%%%02x", c);
         }
         }
         c_ptr++;
         c_ptr++;
     }
     }

+ 1 - 1
version.h

@@ -2,4 +2,4 @@
 
 
 #define TOTP_APP_VERSION_MAJOR (5)
 #define TOTP_APP_VERSION_MAJOR (5)
 #define TOTP_APP_VERSION_MINOR (14)
 #define TOTP_APP_VERSION_MINOR (14)
-#define TOTP_APP_VERSION_PATCH (0)
+#define TOTP_APP_VERSION_PATCH (1)