Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxhy committed May 13, 2024
1 parent ce9e476 commit a9a53b5
Show file tree
Hide file tree
Showing 20 changed files with 41 additions and 36 deletions.
4 changes: 2 additions & 2 deletions KeyManager.Library.KeyGen/KeyManager.Library.KeyGen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Title>Leosac Key Manager Key Generation Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Key Manager</Product>
Expand Down Expand Up @@ -40,7 +40,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.0" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.1" />
<PackageReference Include="Crc32.NET" Version="1.2.0" />
<PackageReference Include="SecretSharingDotNet" Version="0.11.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Title>Leosac Key Manager File Key Store Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Key Manager</Product>
Expand All @@ -27,7 +27,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.15">
<PackageReference Include="log4net" Version="2.0.17">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Leosac.WpfApp" Version="1.16.0">
<PackageReference Include="Leosac.WpfApp" Version="1.17.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="MaterialDesignThemes" Version="4.9.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Title>Leosac Key Manager LCP Key Store Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Key Manager</Product>
Expand All @@ -27,8 +27,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Leosac.CredentialProvisioning.API" Version="1.6.0" />
<PackageReference Include="log4net" Version="2.0.15">
<PackageReference Include="Leosac.CredentialProvisioning.API" Version="1.7.0" />
<PackageReference Include="log4net" Version="2.0.17">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
<PackageReference Include="coverlet.collector" Version="6.0.1">
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Leosac.WpfApp" Version="1.16.0">
<PackageReference Include="Leosac.WpfApp" Version="1.17.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="MaterialDesignThemes" Version="4.9.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ItemGroup>
<PackageReference Include="LibLogicalAccessNetCE" Version="3.1.1" />
<PackageReference Include="log4net" Version="2.0.15">
<PackageReference Include="log4net" Version="2.0.17">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Leosac.WpfApp" Version="1.16.0">
<PackageReference Include="Leosac.WpfApp" Version="1.17.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="MaterialDesignThemes" Version="4.9.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.15">
<PackageReference Include="log4net" Version="2.0.17">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Title>Leosac Key Manager Plugin UI Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Key Manager</Product>
Expand Down
2 changes: 1 addition & 1 deletion KeyManager.Library.Plugin/KeyManager.Library.Plugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Title>Leosac Key Manager Plugin Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Key Manager</Product>
Expand Down
6 changes: 3 additions & 3 deletions KeyManager.Library.Tests/KeyManager.Library.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
<PackageReference Include="coverlet.collector" Version="6.0.1">
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
9 changes: 7 additions & 2 deletions KeyManager.Library.UI/Favorites.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ private static void OnSingletonCreated()
return GetSingletonInstance(false);
}

public Favorites()
{
IsUserConfiguration = true;
}

public static Favorites? GetSingletonInstance(bool forceRecreate)
{
lock (_objlock)
Expand All @@ -30,14 +35,14 @@ private static void OnSingletonCreated()
{
try
{
_settings = KMSettings.LoadFromFile();
_settings = KMSettings.LoadFromFile(true);
if (!string.IsNullOrEmpty(_settings?.FavoritesPath))
{
_singleton = LoadFromFile(_settings.FavoritesPath);
}
else
{
_singleton = LoadFromFile();
_singleton = LoadFromFile(true);
}
OnSingletonCreated();
}
Expand Down
8 changes: 4 additions & 4 deletions KeyManager.Library.UI/KeyManager.Library.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Title>Leosac Key Manager UI Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Key Manager</Product>
Expand All @@ -31,11 +31,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Leosac.WpfApp" Version="1.16.0" />
<PackageReference Include="Leosac.WpfApp" Version="1.17.0" />
<PackageReference Include="MaterialDesignThemes" Version="4.9.0" />
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.0.4" />
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.0.5" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SkiaSharp" Version="2.88.7" />
<PackageReference Include="SkiaSharp" Version="2.88.8" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions KeyManager.Library/KeyManager.Library.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Title>Leosac Key Manager Core Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Key Manager</Product>
Expand All @@ -27,7 +27,7 @@

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="log4net" Version="2.0.17" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions KeyManager.Setup/KeyManager.Setup.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<Content Include="leosac_key.ico" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="WixToolset.Netfx.wixext" Version="4.0.4" />
<PackageReference Include="WixToolset.UI.wixext" Version="4.0.4" />
<PackageReference Include="WixToolset.Netfx.wixext" Version="4.0.5" />
<PackageReference Include="WixToolset.UI.wixext" Version="4.0.5" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion KeyManager.Setup/config.wxi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Include xmlns="http:https://wixtoolset.org/schemas/v4/wxs">
<?define Manufacturer = "Leosac" ?>
<?define ProductName = "Leosac Key Manager" ?>
<?define Version = "1.15.0.0" ?>
<?define Version = "1.16.0.0" ?>
<?define AboutURL = "https://www.leosac.com" ?>
<?define SupportURL = "https://www.leosac.com" ?>
<?define UpdatesURL = "https://www.leosac.com" ?>
Expand Down
2 changes: 1 addition & 1 deletion KeyManager/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private void Application_Startup(object sender, StartupEventArgs e)
{
log.Debug("Starting up the application...");

var settings = AppSettings.GetSingletonInstance();
var settings = UserAppSettings.GetSingletonInstance();
if (!string.IsNullOrEmpty(settings.Language))
{
LangHelper.ChangeLanguage(settings.Language);
Expand Down
2 changes: 1 addition & 1 deletion KeyManager/KMLeosacAppInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public KMLeosacAppInfo()
SettingsCommand = new RelayCommand(() =>
{
var settingsWindow = new SettingsWindow();
settingsWindow.DataContext = KMSettings.LoadFromFile();
settingsWindow.DataContext = KMSettings.LoadFromFile(false);
settingsWindow.ShowDialog();
});
}
Expand Down
6 changes: 3 additions & 3 deletions KeyManager/KeyManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>net8.0-windows7.0</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<Version>1.15.0</Version>
<Version>1.16.0</Version>
<Product>Leosac Key Manager</Product>
<Description>Key Manager for Access Control and RFID related technologies, by Leosac.</Description>
<Company>Leosac SAS</Company>
Expand All @@ -25,8 +25,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Leosac.WpfApp" Version="1.16.0" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Leosac.WpfApp" Version="1.17.0" />
<PackageReference Include="log4net" Version="2.0.17" />
<PackageReference Include="MaterialDesignThemes" Version="4.9.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
Expand Down

0 comments on commit a9a53b5

Please sign in to comment.