mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #2266 from Flow-Launcher/update_python_3_11
Update Python to v3.11.4
This commit is contained in:
commit
02ebbffb43
3 changed files with 6 additions and 4 deletions
1
.github/actions/spelling/expect.txt
vendored
1
.github/actions/spelling/expect.txt
vendored
|
|
@ -103,3 +103,4 @@ Português
|
||||||
Português (Brasil)
|
Português (Brasil)
|
||||||
Italiano
|
Italiano
|
||||||
Slovenský
|
Slovenský
|
||||||
|
Droplex
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments
|
||||||
|
|
||||||
internal override string EnvPath => Path.Combine(DataLocation.PluginEnvironmentsPath, EnvName);
|
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");
|
internal override string ExecutablePath => Path.Combine(InstallPath, "pythonw.exe");
|
||||||
|
|
||||||
|
|
@ -30,8 +30,9 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments
|
||||||
{
|
{
|
||||||
FilesFolders.RemoveFolderIfExists(InstallPath);
|
FilesFolders.RemoveFolderIfExists(InstallPath);
|
||||||
|
|
||||||
// Python 3.8.9 is used for Windows 7 compatibility
|
// Python 3.11.4 is no longer Windows 7 compatible. If user is on Win 7 and
|
||||||
DroplexPackage.Drop(App.python_3_8_9_embeddable, InstallPath).Wait();
|
// 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;
|
PluginsSettingsFilePath = ExecutablePath;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<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="FSharp.Core" Version="7.0.300" />
|
||||||
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.3.2" />
|
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.3.2" />
|
||||||
<PackageReference Include="squirrel.windows" Version="1.5.2" NoWarn="NU1701" />
|
<PackageReference Include="squirrel.windows" Version="1.5.2" NoWarn="NU1701" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue