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