diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b1aea61..c73f6fb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2 ### Fixed - Fixed model links not working in RuinedFooocus for new installations - Fixed incorrect nodejs download link on Linux (thanks to slogonomo for the fix) +- Fixed failing InvokeAI install on macOS due to missing nodejs +- Increased timeout on Recommended Models call to prevent potential timeout errors on slow connections ## v2.8.0 ### Added diff --git a/StabilityMatrix.Avalonia/App.axaml.cs b/StabilityMatrix.Avalonia/App.axaml.cs index 655f0ad0..f1c10ddd 100644 --- a/StabilityMatrix.Avalonia/App.axaml.cs +++ b/StabilityMatrix.Avalonia/App.axaml.cs @@ -574,7 +574,7 @@ public sealed class App : Application .ConfigureHttpClient(c => { c.BaseAddress = new Uri("https://auth.lykos.ai"); - c.Timeout = TimeSpan.FromSeconds(15); + c.Timeout = TimeSpan.FromSeconds(60); }) .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }) .AddPolicyHandler(retryPolicy) diff --git a/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs b/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs index 2ee7f811..49f7296e 100644 --- a/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs +++ b/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs @@ -298,7 +298,7 @@ public class UnixPrerequisiteHelper : IPrerequisiteHelper { var command = args.Prepend([NpmPath]); - var result = await ProcessRunner.RunBashCommand(command.ToArray(), workingDirectory ?? ""); + var result = await ProcessRunner.RunBashCommand(command.ToArray(), workingDirectory ?? "", envVars); if (result.ExitCode != 0) { Logger.Error( diff --git a/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs index 80d4caa9..b91acda8 100644 --- a/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs @@ -126,6 +126,8 @@ public partial class PackageInstallDetailViewModel( return; } + InstallName = InstallName.Trim(); + var setPackageInstallingStep = new SetPackageInstallingStep(settingsManager, InstallName); var installLocation = Path.Combine(settingsManager.LibraryDir, "Packages", InstallName);