|
@ -29,7 +29,7 @@ import traceback |
|
|
|
|
|
|
|
|
script_dir = os.path.dirname(os.path.realpath(__file__)) |
|
|
script_dir = os.path.dirname(os.path.realpath(__file__)) |
|
|
is_bundle = getattr(sys, 'frozen', False) |
|
|
is_bundle = getattr(sys, 'frozen', False) |
|
|
is_local = not is_bundle and script_dir == os.getcwd() |
|
|
is_local = not is_bundle and os.path.exists(os.path.join(script_dir, "setup-release.py")) |
|
|
is_android = 'ANDROID_DATA' in os.environ |
|
|
is_android = 'ANDROID_DATA' in os.environ |
|
|
|
|
|
|
|
|
if is_local or is_android: |
|
|
if is_local or is_android: |
|
|