mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
add --validate-version and --headless
This commit is contained in:
parent
1484575f07
commit
b4a3038623
6 changed files with 211 additions and 7 deletions
|
|
@ -12,6 +12,9 @@ from .version import __version__ as version
|
|||
|
||||
def open_dialog():
|
||||
"""Show Igniter dialog."""
|
||||
if os.getenv("OPENPYPE_HEADLESS_MODE"):
|
||||
print("!!! Can't open dialog in headless mode. Exiting.")
|
||||
sys.exit(1)
|
||||
from Qt import QtWidgets, QtCore
|
||||
from .install_dialog import InstallDialog
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue