Browse Source

oops should be directory.exists

pull/240/head
JT 1 year ago
parent
commit
0f69186779
  1. 2
      StabilityMatrix.Avalonia/Helpers/WindowsPrerequisiteHelper.cs

2
StabilityMatrix.Avalonia/Helpers/WindowsPrerequisiteHelper.cs

@ -246,7 +246,7 @@ public class WindowsPrerequisiteHelper : IPrerequisiteHelper
[SupportedOSPlatform("windows")]
public async Task InstallTkinterIfNecessary(IProgress<ProgressReport>? progress = null)
{
if (!File.Exists(TkinterExistsPath))
if (!Directory.Exists(TkinterExistsPath))
{
Logger.Info("Downloading Tkinter");
await downloadService.DownloadToFileAsync(

Loading…
Cancel
Save