How to use the guiscrcpy.__main__.bcolors.OKBLUE 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
bcolors.UNDERLINE +
    "                                  " +
    bcolors.ENDC)
print()
print("guiscrcpy")
print("by srevinsaju")
print(bcolors.OKBLUE + commit1 + bcolors.ENDC)
print(
    bcolors.OKBLUE +
    "Licensed under GNU GPL v3 (c) 2019  " +
    bcolors.ENDC)
print(
    bcolors.UNDERLINE +
    "                                  " +
    bcolors.ENDC)
print(bcolors.OKBLUE + "" + bcolors.ENDC)

# chk version argument given or not
if(args.version):
    sys.exit(0)
# chk install value given
if(args.install):
    if platform.system() == "Linux":
        # print("Supported on Linux only")

        import subprocess
        inf = subprocess.Popen(
            "find .. -iname 'guiscrcpy-src-installer.sh'",
            shell=True,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE)
        a1 = inf.stdout.read().decode("utf-8")