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