Skip to content

Commit

Permalink
Updated Zero Install .NET
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianeicher committed May 16, 2024
1 parent c70952d commit 55189de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.7.6.0" newVersion="0.7.6.0" />
<bindingRedirect oldVersion="0.0.0.0-0.8.0.0" newVersion="0.8.0.0" />
</dependentAssembly>
</assemblyBinding>
<relativeBindForResources enabled="true" />
Expand Down
7 changes: 0 additions & 7 deletions src/Commands.WinForms/IntegrateAppForm.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright Bastian Eicher et al.
// Licensed under the GNU Lesser Public License

using NanoByte.Common.Native;
using ZeroInstall.DesktopIntegration;
using ZeroInstall.DesktopIntegration.AccessPoints;
using ZeroInstall.DesktopIntegration.ViewModel;
Expand Down Expand Up @@ -175,12 +174,6 @@ private void SetupDefaultAccessPoints()
SetupDefaultAccessPoint(checkBoxDefaultProgramsSimple, labelDefaultProgramsSimple, checkBoxDefaultProgramsAll, _state.DefaultProgram);
SetupCategory(DefaultAccessPoint.TagName, _defaultAccessPointCheckBoxes.ToArray());

// File type associations cannot be set programmatically on Windows 8, so hide the option
_switchToBasicMode += () =>
{
if (WindowsUtils.IsWindows8) labelFileTypesSimple.Visible = checkBoxFileTypesSimple.Visible = false;
};

SetDefaultAccessPoints();
}

Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<Version>1.0.0-pre</Version>

<!-- Dependency versions -->
<NanoByteCommonVersion>2.18.3</NanoByteCommonVersion>
<ZeroInstallVersion>2.25.7</ZeroInstallVersion>
<NanoByteCommonVersion>2.18.4</NanoByteCommonVersion>
<ZeroInstallVersion>2.25.8</ZeroInstallVersion>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)App.config" />
Expand Down
3 changes: 1 addition & 2 deletions src/OneGet/OneGetContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private IEnumerable<Feed> GetCatalogResults(string? query)
if (string.IsNullOrEmpty(query))
{
Log.Info("Returning entire catalog");
return GetCatalog().Feeds;
return (CatalogManager.GetCached() ?? CatalogManager.GetOnlineSafe()).Feeds;
}

Log.Info("Searching for short-name match in Catalog: " + query);
Expand Down Expand Up @@ -169,7 +169,6 @@ public void DownloadPackage(string fastPackageReference, string location)
IconStores.DesktopIntegration(Config, Handler, machineWide: false));
}
exporter.DeployImportScript();
exporter.DeployBootstrapIntegrate(Handler);

Yield(requirements);

Expand Down

0 comments on commit 55189de

Please sign in to comment.