Skip to content

Commit b4b72a7

Browse files
committed
Mark debug builds
1 parent 0b61d22 commit b4b72a7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

PasteIntoFile/Dialog.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public Dialog(string location = null, string filename = null, bool? showDialogOv
6262
Icon = Resources.app_icon;
6363
Text = Resources.app_title;
6464
versionInfoLabel.Text = string.Format(Resources.str_version, ProductVersion);
65+
#if DEBUG
66+
versionInfoLabel.Text += " (debug build)";
67+
#endif
6568
versionInfoLabel.LinkArea = new LinkArea(0, 0);
6669
CheckForUpdates();
6770

PasteIntoFile/Wizard.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public Wizard() {
3131

3232
// Version info
3333
version.Text = string.Format(Resources.str_version, ProductVersion);
34+
#if DEBUG
35+
version.Text += " (debug build)";
36+
#endif
3437
version.Links.Add(0, version.Text.Length, "https://github.com/eltos/PasteIntoFile/releases");
3538
version.LinkClicked += (sender, args) => Process.Start(args.Link.LinkData.ToString());
3639
CheckForUpdates();

0 commit comments

Comments
 (0)