mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 12:48:36 -06:00
new: Print command before executing it
This commit is contained in:
parent
b67a70ba7f
commit
ed8e7859e2
1 changed files with 2 additions and 2 deletions
|
@ -73,9 +73,9 @@ def build_apps(appstate):
|
||||||
cmd += f" -o {output_name}.apk {apk}.apk"
|
cmd += f" -o {output_name}.apk {apk}.apk"
|
||||||
|
|
||||||
if root:
|
if root:
|
||||||
print(f"Building {pretty_name} (root)...")
|
print(f"Building {pretty_name} (root) using '{cmd}'")
|
||||||
else:
|
else:
|
||||||
print(f"Building {pretty_name} (nonroot)...")
|
print(f"Building {pretty_name} (nonroot) using '{cmd}'")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with subprocess.Popen(cmd, shell=True, bufsize=0, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout as output:
|
with subprocess.Popen(cmd, shell=True, bufsize=0, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout as output:
|
||||||
|
|
Loading…
Reference in a new issue