1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

scripts: runfap: fixed starting apps with spaces in path (#3782)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
hedger
2024-07-15 07:32:45 +03:00
committed by GitHub
parent 1a8f6dbed8
commit a5e89315ae

View File

@@ -88,7 +88,7 @@ class Main(App):
return 4
self.logger.info(f"Launching app: {startup_command}")
storage.send_and_wait_eol(f"loader open {startup_command}\r")
storage.send_and_wait_eol(f'loader open "{startup_command}"\r')
if len(result := storage.read.until(storage.CLI_EOL)):
self.logger.error(f"Unexpected response: {result.decode('ascii')}")