Files
acc-installer/run.py
yassin1661-creator bafae4b212 init commit
2026-09-01 12:30:03 +03:30

17 lines
643 B
Python

import subprocess
# لیست فایل‌ها به ترتیب اجرا
scripts = ["downloader_copier.py", "extract_acc.py", "install_novindesk.py"]
for script in scripts:
print(f"در حال اجرای {script}...")
# اجرای فایل و انتظار برای اتمام آن
result = subprocess.run(["python", script], capture_output=True, text=True)
if result.returncode == 0:
print(f"{script} با موفقیت اجرا شد.\n")
else:
print(f"خطا در اجرای {script}:")
print(result.stderr)
break # اگر خطایی رخ داد، ادامه روند متوقف شود