mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
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:
parent
e84b3e7110
commit
c22b0bb8b2
2 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue