Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Embeddable/PyEnvironment.Embeddable.pas
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ function TPyCustomEmbeddableDistribution.FindExecutable: string;
Result := TPath.Combine(GetEnvironmentPath(), 'python.exe');
if not TFile.Exists(Result) then
Exit(String.Empty);
// If we get this far and we're in a Windows only section then we're done so just exit with the Result intact
Exit(Result);
{$ELSEIF DEFINED(ANDROID)}
//Let's try it in the library path first - we should place it in the library path in Android
Result := TPath.GetLibraryPath();
Expand Down