MCPcopy
hub / github.com/mherrmann/fbs / is_mac

Function is_mac

fbs_runtime/platform.py:12–16  ·  view source on GitHub ↗

Return True if the current OS is macOS, False otherwise.

()

Source from the content-addressed store, hash-verified

10 return name() == 'Windows'
11
12def is_mac():
13 """
14 Return True if the current OS is macOS, False otherwise.
15 """
16 return name() == 'Mac'
17
18def is_linux():
19 """

Callers 10

test_freeze_installerMethod · 0.90
run_pyinstallerFunction · 0.90
_generate_resourcesFunction · 0.90
create_installer_macFunction · 0.90
freezeFunction · 0.90
signFunction · 0.90
installerFunction · 0.90
sign_installerFunction · 0.90
get_resource_dirsFunction · 0.90
app_iconMethod · 0.90

Calls 1

nameFunction · 0.85

Tested by 1

test_freeze_installerMethod · 0.72