mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Set Dev true
This commit is contained in:
parent
042cc24e28
commit
b39126cfb1
4 changed files with 10 additions and 14 deletions
|
@ -33,7 +33,7 @@ namespace ShareX.HelpersLib
|
|||
public abstract class UpdateChecker
|
||||
{
|
||||
/// <summary>For testing purposes.</summary>
|
||||
public const bool ForceUpdate = false;
|
||||
public static bool ForceUpdate { get; private set; } = false;
|
||||
|
||||
public UpdateStatus Status { get; set; }
|
||||
public Version CurrentVersion { get; set; }
|
||||
|
|
|
@ -46,18 +46,14 @@ public AboutForm()
|
|||
|
||||
ShareXResources.ApplyTheme(this);
|
||||
|
||||
#if STEAM || WindowsStore
|
||||
#if STEAM
|
||||
uclUpdate.Visible = false;
|
||||
lblBuild.Text = "Steam build";
|
||||
lblBuild.Visible = true;
|
||||
#elif WindowsStore
|
||||
uclUpdate.Visible = false;
|
||||
lblBuild.Text = "Microsoft Store build";
|
||||
lblBuild.Visible = true;
|
||||
|
||||
if (Program.Build == ShareXBuild.Steam)
|
||||
{
|
||||
lblBuild.Text = "Steam build";
|
||||
}
|
||||
else if (Program.Build == ShareXBuild.MicrosoftStore)
|
||||
{
|
||||
lblBuild.Text = "Microsoft Store build";
|
||||
}
|
||||
#else
|
||||
if (!Program.PortableApps)
|
||||
{
|
||||
|
|
|
@ -78,7 +78,7 @@ public static string VersionText
|
|||
|
||||
public static string TitleLong => $"{Title} ({Build})";
|
||||
|
||||
public static bool Dev { get; } = false;
|
||||
public static bool Dev { get; } = true;
|
||||
public static bool MultiInstance { get; private set; }
|
||||
public static bool Portable { get; private set; }
|
||||
public static bool PortableApps { get; private set; }
|
||||
|
|
|
@ -30,5 +30,5 @@ You should have received a copy of the GNU General Public License
|
|||
[assembly: AssemblyProduct("ShareX")]
|
||||
[assembly: AssemblyCopyright("Copyright (c) 2007-2020 ShareX Team")]
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("13.2.1")]
|
||||
[assembly: AssemblyFileVersion("13.2.1")]
|
||||
[assembly: AssemblyVersion("13.2.2")]
|
||||
[assembly: AssemblyFileVersion("13.2.2")]
|
Loading…
Reference in a new issue