Skip to content

Commit

Permalink
使用本地 nuget 引用过时的包
Browse files Browse the repository at this point in the history
  • Loading branch information
wherewhere committed Jul 24, 2024
1 parent a2d2887 commit a230da9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion WinGetStore/WinGetStore/Helpers/TilesHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ public static async Task UpdateStartMenuCompanionAsync(this AdaptiveCard adaptiv
try
{
StorageFile file = await StorageFileHelper.WriteTextToLocalFileAsync(adaptiveCard.ToJson(), fileName).ConfigureAwait(false);

FileInfo info = new(file.Path);
FileSecurity security = info.GetAccessControl();
// Add Shell Experience Capability SID
Expand Down
4 changes: 2 additions & 2 deletions WinGetStore/WinGetStore/WinGetStore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.3</Version>
</PackageReference>
<PackageReference Include="System.IO.FileSystem.AccessControl">
<Version>4.7.0</Version>
<PackageReference Include="WinGetStore.References">
<Version>0.0.1</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="Local Packages" value="nupkgs"/>
</packageSources>
</configuration>
Binary file added nupkgs/WinGetStore.References.nupkg
Binary file not shown.

0 comments on commit a230da9

Please sign in to comment.