aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/utils.py')
-rw-r--r--build_scripts/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py
index 02a796897..3f5b47d6f 100644
--- a/build_scripts/utils.py
+++ b/build_scripts/utils.py
@@ -1174,3 +1174,7 @@ def copy_qt_metatypes(destination_qt_dir, _vars):
copydir(qt_meta_types_dir, destination_qt_dir / rel_meta_data_dir,
_filter=["*.json"],
recursive=False, _vars=_vars, force_copy_symlinks=True)
+
+
+def in_coin():
+ return os.environ.get('COIN_LAUNCH_PARAMETERS', None) is not None