mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-29 17:02:05 +13:00
Show WindowsStore build on app
This commit is contained in:
parent
99cc700c7d
commit
19e876b0aa
3 changed files with 17 additions and 4 deletions
|
@ -45,6 +45,16 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'WindowsStoreDebug|AnyCPU'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\WindowsStoreDebug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
|
|
|
@ -34,6 +34,7 @@ public enum ShareXBuild
|
|||
Debug,
|
||||
Release,
|
||||
Steam,
|
||||
WindowsStore,
|
||||
Unknown
|
||||
}
|
||||
|
||||
|
|
|
@ -42,12 +42,14 @@ public static ShareXBuild Build
|
|||
{
|
||||
get
|
||||
{
|
||||
#if STEAM
|
||||
return ShareXBuild.Steam;
|
||||
#if DEBUG
|
||||
return ShareXBuild.Debug;
|
||||
#elif RELEASE
|
||||
return ShareXBuild.Release;
|
||||
#elif DEBUG
|
||||
return ShareXBuild.Debug;
|
||||
#elif STEAM
|
||||
return ShareXBuild.Steam;
|
||||
#elif WindowsStore
|
||||
return ShareXBuild.WindowsStore;
|
||||
#else
|
||||
return ShareXBuild.Unknown;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue