X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/a2804841ed52f812b1d666cb3df01239ee906f5f..28453601379e7561c0a798b2e3d178a53d3fc346:/tools/__init__.py diff --git a/tools/__init__.py b/tools/__init__.py index df42752..2443e6e 100644 --- a/tools/__init__.py +++ b/tools/__init__.py @@ -5,7 +5,6 @@ import sys import logging import os import traceback -import subprocess from . import actions from . import config @@ -33,7 +32,7 @@ def main(): args.timeout = 1800 if not actions.initializer.is_initialized(args): - if args.action and (args.action not in ("init", "first-launch", "log")): + if args.action and (args.action != "init" and args.action != "log"): if not args.wait_for_init: print('ERROR: WayDroid is not initialized, run "waydroid init"') return 0 @@ -117,10 +116,6 @@ def main(): helpers.lxc.logcat(args) elif args.action == "show-full-ui": actions.app_manager.showFullUI(args) - elif args.action == "first-launch": - subprocess.run(["pkexec", sys.argv[0], "init", "--gui"]) - if actions.initializer.is_initialized(args): - actions.app_manager.showFullUI(args) elif args.action == "status": actions.status.print_status(args) elif args.action == "log":