MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / is_binary_app

Function is_binary_app

keepercommander/versioning.py:66–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65# Determine if this app is running as a python script or an installed binary (PyInstaller)
66def is_binary_app():
67 # see: https://pyinstaller.readthedocs.io/en/stable/runtime-information.html#run-time-information
68 return getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS')
69
70
71def __version_compare(v1, v2):

Callers 3

get_install_infoFunction · 0.85
detect_install_methodFunction · 0.85
executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected