mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2026-08-22 12:29:49 +00:00
* CLI: consistent quoted path handling for loader and Sub-GHz Fix issue #4248 where CLI commands disagreed on how paths with spaces must be quoted: - loader open: strip quotes from the application argument path so `loader open subghz "/ext/subghz/Some File.sub"` works (quotes were previously left in the path string passed to the app). - subghz tx_from_file / decode_raw / keystore path args: use args_read_probably_quoted_string_and_trim (same as storage CLI). - args_read_probably_quoted_string_and_trim: treat missing closing quote as failure (FURI_STRING_FAILURE), not a bogus zero index. - Unit tests for quoted path extraction. storage CLI already used the quoted helper; infrared/lfrfid already did for file paths. This aligns loader + subghz with that convention. Fixes #4248 * fbt format --------- Co-authored-by: drkemp187 <193144151+drkemp187@users.noreply.github.com> Co-authored-by: Stefan <66339601+turbospok@users.noreply.github.com>