Index: src/engine/main.cpp |
=================================================================== |
--- a/src/engine/main.cpp |
+++ b/src/engine/main.cpp |
@@ -170,6 +170,11 @@ |
appInfo.name = "adblockplusie"; |
appInfo.platform = "msie"; |
appInfo.locale = ToUtf8String(locale); |
+#ifdef ADBLOCK_PLUS_TEST_MODE |
+ appInfo.developmentBuild = true; |
+#else |
+ appInfo.developmentBuild = false; |
+#endif |
AdblockPlus::JsEnginePtr jsEngine = AdblockPlus::JsEngine::New(appInfo); |
std::string dataPath = ToUtf8String(GetAppDataPath()); |