#!/usr/bin/python3
"""PipeWire Controller launcher."""
import os
import sys

sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))

# Before importing the app, so a module that grows a too-new libadwaita symbol
# at import scope still reports it properly instead of dying on the import.
from pwctl.compat import require

require()

from pwctl.app import main

sys.exit(main())
