From c22b0bb8b2305bcbb1a4ec4eab02c67358e4f8ea Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 25 Nov 2021 15:33:41 +0000 Subject: 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. --- Userland/Applications/Browser/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications/Browser/main.cpp') diff --git a/Userland/Applications/Browser/main.cpp b/Userland/Applications/Browser/main.cpp index 393dc5e0c7..6520ad1c81 100644 --- a/Userland/Applications/Browser/main.cpp +++ b/Userland/Applications/Browser/main.cpp @@ -67,7 +67,7 @@ ErrorOr 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); -- cgit v1.2.3