added windows verification
This commit is contained in:
parent
8d563d080e
commit
df0e5e6746
|
|
@ -186,7 +186,8 @@ class TestRunner:
|
|||
if RUN_OVER:
|
||||
if POST_RUN_ALLOWED and self.is_infected == 0: # Second part is redundant
|
||||
print(colored("\n > Running post test runner...", "green"))
|
||||
subprocess.Popen([self.agnostic_path.main_path + f"\\Discord{self.agnostic_path.ptb}.exe"])
|
||||
if self.agnostic_path.os == "windows":
|
||||
subprocess.Popen([self.agnostic_path.main_path + f"\\Discord{self.agnostic_path.ptb}.exe"])
|
||||
return 0
|
||||
return 1
|
||||
time.sleep(0.1)
|
||||
|
|
|
|||
Reference in New Issue