13 lines
320 B
Python
13 lines
320 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
# Ensure the directory containing the linux_updater package is in sys.path
|
|
pkg_parent = str(Path(__file__).resolve().parent.parent)
|
|
if pkg_parent not in sys.path:
|
|
sys.path.insert(0, pkg_parent)
|
|
|
|
from linux_updater.cli import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|