Index: shell/src/Main.cpp |
=================================================================== |
--- a/shell/src/Main.cpp |
+++ b/shell/src/Main.cpp |
@@ -61,7 +61,12 @@ |
LibFileReader fileReader; |
AdblockPlus::DefaultWebRequest webRequest; |
CerrErrorCallback errorCallback; |
- AdblockPlus::JsEngine jsEngine(&fileReader, &webRequest, &errorCallback); |
+ AdblockPlus::AppInfo appInfo; |
+ appInfo.addonVersion = "1.0"; |
+ appInfo.addonName = "Adblock Plus Shell"; |
+ appInfo.application = "abpshell"; |
+ AdblockPlus::JsEngine jsEngine(appInfo, &fileReader, &webRequest, |
+ &errorCallback); |
AdblockPlus::FilterEngine filterEngine(jsEngine); |
CommandMap commands; |