How to use the guiscrcpy.__main__.bcolors.BOLD function in guiscrcpy

To help you get started, we’ve selected a few guiscrcpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github srevinsaju / guiscrcpy / guiscrcpy / __main__.py View on Github external
# print("LOG: Bitrate : ", bitrate0, " + Dimensions", dimension0, "")
    # print("LOG: Bitrate: ", bitrate0)
    # print("dispRO:", dispRO0)

if platform.system() == "Windows":
    if os.path.isfile("./scrcpy.exe"):
        increment = ".\\"
        # print(bcolors.BOLD + "LOG: Found scrcpy.exe in current directory.")
    else:
        print(
            bcolors.FAIL
            + " Found scrcpy.exe not found in current directory."
            + bcolors.ENDC
        )
        print(
            bcolors.BOLD +
            "LOG: Fallback to system PATH variable."+
            "Please add scrcpy to path." +
            bcolors.ENDC)
        increment = ""


else:
    if not fileExist:
        print(
            "LOG: One time checking for scrcpy executable." +
            "(Use RESET for rechecking)"
        )
        increment = ""
        scrcpy_checker = po(
            "scrcpy -v",
            stdout=PIPE,