use python 3.8.9 embeddable

This commit is contained in:
Jeremy 2021-06-17 22:20:32 +10:00
parent fde9ce956d
commit cc2b9dc81d
2 changed files with 3 additions and 2 deletions

View file

@ -53,7 +53,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Droplex" Version="1.2.0" />
<PackageReference Include="Droplex" Version="1.3.0" />
<PackageReference Include="FSharp.Core" Version="4.7.1" />
<PackageReference Include="squirrel.windows" Version="1.5.2" />
</ItemGroup>

View file

@ -209,7 +209,8 @@ namespace Flow.Launcher.Core.Plugin
}
else
{
DroplexPackage.Drop(App.python3_9_1).Wait();
// Python 3.8.9 is used for Windows 7 compatibility
DroplexPackage.Drop(App.python_3_8_9_embeddable, Path.Combine(DataLocation.DataDirectory(), "Python Embeddable")).Wait();
var installedPythonDirectory =
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),