| Index: shell/src/Main.cpp |
| =================================================================== |
| --- a/shell/src/Main.cpp |
| +++ b/shell/src/Main.cpp |
| @@ -53,17 +53,18 @@ namespace |
| int main() |
| { |
| try |
| { |
| AdblockPlus::AppInfo appInfo; |
| appInfo.version = "1.0"; |
| appInfo.name = "abpshell"; |
| - appInfo.platform = "standalone"; |
| + appInfo.application = "standalone"; |
| + appInfo.applicationVersion = "1.0"; |
| appInfo.locale = "en-US"; |
| AdblockPlus::JsEnginePtr jsEngine(AdblockPlus::JsEngine::New(appInfo)); |
| AdblockPlus::FilterEngine filterEngine(jsEngine); |
| CommandMap commands; |
| Add(commands, new GcCommand(jsEngine)); |
| Add(commands, new HelpCommand(commands)); |
| Add(commands, new FiltersCommand(filterEngine)); |