File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121 macOS 12 Monterey
2222
23- macOS 13 Ventura","x86-64
23+ macOS 13 Ventura
24+
25+ macOS 14 Sonoma","x86-64
26+
27+ x86-64, arm64 (Apple Silicon)
2428
2529 x86-64, arm64 (Apple Silicon)
2630
Original file line number Diff line number Diff line change 1818
1919WIN = sys .platform == "win32"
2020
21-
22- if WIN :
21+ if WIN and "CODEQL_EXTRACTOR_PYTHON_OPTION_PYTHON_EXECUTABLE_NAME" not in os .environ :
2322 # installing `py` launcher is optional when installing Python on windows, so it's
2423 # possible that the user did not install it, see
2524 # https://github.com/github/codeql-cli-binaries/issues/125#issuecomment-1157429430
26- # so we check whether it has been installed. Newer versions have a `--list` option,
25+ # so we check whether it has been installed, and we check only if the "python_executable_name"
26+ # extractor option has not been specified. Newer versions have a `--list` option,
2727 # but that has only been mentioned in the docs since 3.9, so to not risk it not
2828 # working on potential older versions, we'll just use `py --version` which forwards
2929 # the `--version` argument to the default python executable.
You can’t perform that action at this time.
0 commit comments