Skip to content

Commit dbe0c61

Browse files
committed
Make global debug build constant
1 parent cff8de2 commit dbe0c61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WinNUT_V2/WinNUT-Client_Common/WinNUT_Globals.vb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ Public Module WinNUT_Globals
1414
#Region "Constants/Shareds"
1515

1616
#If DEBUG Then
17+
Public ReadOnly IsDebugBuild = True
1718
' If debugging, keep any generated data next to the debug executable.
1819
Private ReadOnly DESIRED_DATA_PATH As String = Path.Combine(Environment.CurrentDirectory)
1920
#Else
21+
Public ReadOnly IsDebugBuild = False
2022
Private ReadOnly DESIRED_DATA_PATH As String = Environment.GetFolderPath(
2123
Environment.SpecialFolder.ApplicationData))
2224
#End If

0 commit comments

Comments
 (0)