We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f7c1e0 + 4be65b2 commit f406260Copy full SHA for f406260
src/Embeddable/PyEnvironment.Embeddable.pas
@@ -244,6 +244,8 @@ function TPyCustomEmbeddableDistribution.FindExecutable: string;
244
Result := TPath.Combine(GetEnvironmentPath(), 'python.exe');
245
if not TFile.Exists(Result) then
246
Exit(String.Empty);
247
+ // If we get this far and we're in a Windows only section then we're done so just exit with the Result intact
248
+ Exit(Result);
249
{$ELSEIF DEFINED(ANDROID)}
250
//Let's try it in the library path first - we should place it in the library path in Android
251
Result := TPath.GetLibraryPath();
0 commit comments