Files
2026-11-16 20:45:22 +08:00

19 lines
460 B
Python

"""Install Python deps and Chromium for the X plugin."""
from __future__ import annotations
import subprocess
import sys
def main() -> None:
deps = ["playwright", "httpx"]
for dep in deps:
subprocess.check_call([sys.executable, "-m", "pip", "install", dep])
subprocess.check_call([sys.executable, "-m", "playwright", "install", "chromium"])
print("Done. Restart the app and reload plugins.")
if __name__ == "__main__":
main()