mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 13:09:49 +04:00
BLE/GAP fixes
by hedger https://github.com/flipperdevices/flipperzero-firmware/pull/3533/files
This commit is contained in:
@@ -105,7 +105,8 @@ class PosixPathWrapper:
|
||||
return self.fix_path(env.subst(self.pathobj))
|
||||
|
||||
|
||||
def path_as_posix(path):
|
||||
if SCons.Platform.platform_default() == "win32":
|
||||
return path.replace(os.path.sep, os.path.altsep)
|
||||
return path
|
||||
def open_browser_action(target, source, env):
|
||||
if sys.platform == "darwin":
|
||||
subprocess.run(["open", source[0].abspath])
|
||||
else:
|
||||
webbrowser.open(source[0].abspath)
|
||||
|
||||
Reference in New Issue
Block a user