1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 04:41:26 +04:00

[FL-3317] fbt: allow strings for fap_version field in app manifests (#2672)

This commit is contained in:
hedger
2023-05-14 14:49:52 +03:00
committed by GitHub
parent c496962f95
commit 8d1f5b04b3
4 changed files with 14 additions and 4 deletions

View File

@@ -196,7 +196,10 @@ class FlipperAppStateHelper:
self.set_debug_mode(False)
def set_debug_mode(self, mode: bool) -> None:
gdb.execute(f"set variable furi_hal_debug_gdb_session_active = {int(mode)}")
try:
gdb.execute(f"set variable furi_hal_debug_gdb_session_active = {int(mode)}")
except gdb.error as e:
print(f"Failed to set debug mode: {e}")
# Init additional 'fap-set-debug-elf-root' command and set up hooks