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

Function is_binary_app

keepercommander/versioning.py:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected