#include "app_handler.hpp"
#include <include/cef_app.h>
#include <include/cef_base.h>
int main(int argc, char* argv[]) {
#ifdef BW_MACOS
CefScopedSandboxContext sandbox_context;
if (!sandbox_context.Initialize(argc, argv))
return 1;
CefScopedLibraryLoader library_loader;
if (!library_loader.LoadInHelper())
return 1;
#endif
#ifndef BW_WINDOWS
CefMainArgs main_args(argc, argv);
#else
CefMainArgs main_args(GetModuleHandle(NULL));
#endif
CefRefPtr<CefApp> app( new AppHandler( 0 ) );
return CefExecuteProcess(main_args, app, 0);
}