mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-28 14:08:16 +08:00
fix Res Link
This commit is contained in:
@@ -45,10 +45,10 @@
|
||||
<ProjectReference Include="..\ST.Client.Desktop\ST.Client.Desktop.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--VisualStudioAppCenterSDK namespacePrefix = "System.Application.Resources."-->
|
||||
<ItemGroup Condition="'$(Configuration)'=='Debug' And Exists('$(MSBuildProjectDirectory)\..\..\appcenter-secret-debug.pfx')">
|
||||
<EmbeddedResource Include="..\..\appcenter-secret-debug.pfx" Link="Resources\7EE83DD3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)'=='Release' And Exists('$(MSBuildProjectDirectory)\..\..\appcenter-secret-release.pfx')">
|
||||
<EmbeddedResource Include="..\..\appcenter-secret-release.pfx" Link="Resources\0794704F" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace System.Application
|
||||
{
|
||||
var assembly = typeof(VisualStudioAppCenterSDK).Assembly;
|
||||
const string namespacePrefix = "System.Application.Resources.";
|
||||
Stream? func(string x) => assembly.GetManifestResourceStream(x);
|
||||
Stream? func(string x) => assembly!.GetManifestResourceStream(x);
|
||||
var r = GetResValue(func,
|
||||
#if XAMARIN_MAC || MONO_MAC || MAC
|
||||
"appcenter-secret-mac",
|
||||
|
||||
Reference in New Issue
Block a user