Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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":
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,
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):