mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +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>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</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>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<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>
|
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||||
|
|
|
@ -34,6 +34,7 @@ public enum ShareXBuild
|
||||||
Debug,
|
Debug,
|
||||||
Release,
|
Release,
|
||||||
Steam,
|
Steam,
|
||||||
|
WindowsStore,
|
||||||
Unknown
|
Unknown
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,12 +42,14 @@ public static ShareXBuild Build
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
#if STEAM
|
#if DEBUG
|
||||||
return ShareXBuild.Steam;
|
return ShareXBuild.Debug;
|
||||||
#elif RELEASE
|
#elif RELEASE
|
||||||
return ShareXBuild.Release;
|
return ShareXBuild.Release;
|
||||||
#elif DEBUG
|
#elif STEAM
|
||||||
return ShareXBuild.Debug;
|
return ShareXBuild.Steam;
|
||||||
|
#elif WindowsStore
|
||||||
|
return ShareXBuild.WindowsStore;
|
||||||
#else
|
#else
|
||||||
return ShareXBuild.Unknown;
|
return ShareXBuild.Unknown;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue