Merge pull request #2266 from Flow-Launcher/update_python_3_11

Update Python to v3.11.4
This commit is contained in:
Jeremy Wu 2023-08-10 20:27:13 +10:00 committed by GitHub
commit 02ebbffb43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -103,3 +103,4 @@ Português
Português (Brasil)
Italiano
Slovenský
Droplex

View file

@ -16,7 +16,7 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments
internal override string EnvPath => Path.Combine(DataLocation.PluginEnvironmentsPath, EnvName);
internal override string InstallPath => Path.Combine(EnvPath, "PythonEmbeddable-v3.8.9");
internal override string InstallPath => Path.Combine(EnvPath, "PythonEmbeddable-v3.11.4");
internal override string ExecutablePath => Path.Combine(InstallPath, "pythonw.exe");
@ -30,8 +30,9 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments
{
FilesFolders.RemoveFolderIfExists(InstallPath);
// Python 3.8.9 is used for Windows 7 compatibility
DroplexPackage.Drop(App.python_3_8_9_embeddable, InstallPath).Wait();
// Python 3.11.4 is no longer Windows 7 compatible. If user is on Win 7 and
// uses Python plugin they need to custom install and use v3.8.9
DroplexPackage.Drop(App.python_3_11_4_embeddable, InstallPath).Wait();
PluginsSettingsFilePath = ExecutablePath;
}

View file

@ -53,7 +53,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Droplex" Version="1.6.0" />
<PackageReference Include="Droplex" Version="1.7.0" />
<PackageReference Include="FSharp.Core" Version="7.0.300" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.3.2" />
<PackageReference Include="squirrel.windows" Version="1.5.2" NoWarn="NU1701" />