How to use the guiscrcpy.__main__.bcolors 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
# import pdb
# removed multiprocess modules

if not sha:
    commit1 = __version__
else:
    commit1 = __version__ + " commit" + sha

print(
    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":
github srevinsaju / guiscrcpy / guiscrcpy / __main__.py View on Github external
commit1 = __version__ + " commit" + sha

print(
    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,
github srevinsaju / guiscrcpy / guiscrcpy / __main__.py View on Github external
BOLD = ""
        UNDERLINE = ""


# import pdb
# removed multiprocess modules

if not sha:
    commit1 = __version__
else:
    commit1 = __version__ + " commit" + sha

print(
    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):