暂时更改一部分Skill
This commit is contained in:
1 parent
84b28f9672
commit
6d4629e4ac
53 files changed
+5293
-10
No files matched your search
@@ -0,0 +1,35 @@
|
||||
namespace Store.Management.Framework.Configs;
|
||||
|
||||
/// <summary>
|
||||
/// 应用级常量配置:代码标识与显示名称分离。
|
||||
/// </summary>
|
||||
public static class AppConfig
|
||||
{
|
||||
/// <summary>代码用软件名称(程序集/目录/Mutex 等标识)。</summary>
|
||||
public const string AppName = "Store.Management";
|
||||
|
||||
/// <summary>显示与输出用软件名称(启动页、对话框标题、安装器显示名等)。</summary>
|
||||
public const string AppDisplayName = "Store.Management";
|
||||
|
||||
/// <summary>是否是发布版本。</summary>
|
||||
public static bool IsRelease
|
||||
{
|
||||
get
|
||||
{
|
||||
#if RELEASE
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>当前构建模式显示名(Release / Debug)。</summary>
|
||||
public static string BuildMode
|
||||
{
|
||||
get
|
||||
{
|
||||
return IsRelease ? "Release" : "Debug";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user