Allow the test base directory even for release builds.

master
Pacman Ghost 7 years ago
parent ce3b59d61d
commit 7ec71a1760
  1. 2
      MainApp/Program.cs

@ -19,11 +19,9 @@ namespace MouseInterception
{
// initialize
mBaseDir = Application.StartupPath ;
#if DEBUG
string baseDir = System.IO.Path.Combine( mBaseDir , "../../../_TEST_" ) ;
if ( Directory.Exists( baseDir ) )
mBaseDir = baseDir ;
#endif // DEBUG
// load the debug config
string fname = getAppRelativePath( "debug.xml" ) ; // FIXME! make this configurable

Loading…
Cancel
Save