Browser+Base: Delete provided Browser.ini file

Having files in Base's user `.config` folder means that every time the
Serenity image is built, all user settings in that file are thrown away.
So, let's not do that! :^)

Modified the default value for the homepage url to match what was in
Browser.ini, so there is no visible change.
This commit is contained in:
Sam Atkins 2021-11-25 15:33:41 +00:00 committed by Andreas Kling
parent e84b3e7110
commit c22b0bb8b2
Notes: sideshowbarker 2024-07-18 00:39:11 +09:00
2 changed files with 1 additions and 4 deletions

View file

@ -1,3 +0,0 @@
[Preferences]
Home=file:///res/html/misc/welcome.html
SearchEngine=

View file

@ -67,7 +67,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-browser");
Browser::g_home_url = Config::read_string("Browser", "Preferences", "Home", "about:blank");
Browser::g_home_url = Config::read_string("Browser", "Preferences", "Home", "file:///res/html/misc/welcome.html");
Browser::g_search_engine = Config::read_string("Browser", "Preferences", "SearchEngine", {});
auto ad_filter_list_or_error = Core::File::open(String::formatted("{}/BrowserContentFilters.txt", Core::StandardPaths::config_directory()), Core::OpenMode::ReadOnly);