mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 14:24:43 -07:00
Merge branch 'develop' of https://github.com/greenshot/greenshot into develop
# Conflicts: # azure-pipelines.yml # src/Greenshot/Greenshot.csproj
This commit is contained in:
commit
b7812f5f32
5 changed files with 9 additions and 8 deletions
|
@ -2,6 +2,7 @@
|
|||
<configuration>
|
||||
<packageSources>
|
||||
<add key="nugetv3" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="uwpcommunitytoolkit" value="https://dotnet.myget.org/F/uwpcommunitytoolkit/api/v3/index.json" />
|
||||
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
|
||||
<add key="dotnet-windowsdesktop" value="https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json" />
|
||||
<add key="aspnet-aspnetcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json" />
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.18362.2002-preview" />
|
||||
<PackageReference Include="System.Runtime.WindowsRuntime" Version="4.6.0-preview4.19212.13" />
|
||||
<PackageReference Include="Microsoft.Toolkit.Forms.UI.Controls" Version="6.0.0-preview4.1" />
|
||||
<TrimmerRootAssembly Include="Microsoft.Windows.SDK.Contracts" />
|
||||
<TrimmerRootAssembly Include="System.Runtime.WindowsRuntime" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -23,7 +23,6 @@ using Autofac;
|
|||
using Dapplo.Addons;
|
||||
using Dapplo.Windows.Common;
|
||||
using Greenshot.Addons.Components;
|
||||
using Greenshot.Addons.Interfaces;
|
||||
|
||||
namespace Greenshot.Addon.Win10
|
||||
{
|
||||
|
@ -49,15 +48,11 @@ namespace Greenshot.Addon.Win10
|
|||
.As<IDestination>()
|
||||
.SingleInstance();
|
||||
|
||||
builder
|
||||
.RegisterType<Win10FormEnhancer>()
|
||||
.As<IFormEnhancer>()
|
||||
.SingleInstance();
|
||||
|
||||
builder
|
||||
.RegisterType<Win10ShareDestination>()
|
||||
.As<IDestination>()
|
||||
.SingleInstance();
|
||||
|
||||
base.Load(builder);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="gong-wpf-dragdrop" Version="2.0.3" />
|
||||
<PackageReference Include="MahApps.Metro.IconPacks" Version="3.0.0-alpha0146" />
|
||||
<PackageReference Include="Svg" Version="2.4.3" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Forms;
|
||||
|
@ -58,6 +59,9 @@ namespace Greenshot
|
|||
[STAThread]
|
||||
public static int Main(string[] arguments)
|
||||
{
|
||||
// Workaround for https://github.com/dotnet/wpf/issues/684 & https://github.com/dotnet/wpf/issues/913
|
||||
CultureInfo.CurrentUICulture = CultureInfo.GetCultureInfo("en-US");
|
||||
|
||||
// TODO: Set via build
|
||||
StringEncryptionTypeConverter.RgbIv = "dlgjowejgogkklwj";
|
||||
StringEncryptionTypeConverter.RgbKey = "lsjvkwhvwujkagfauguwcsjgu2wueuff";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue