mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +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
Notes:
sideshowbarker
2024-07-18 00:39:11 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/c22b0bb8b23 Pull-request: https://github.com/SerenityOS/serenity/pull/11072
2 changed files with 1 additions and 4 deletions
|
@ -1,3 +0,0 @@
|
|||
[Preferences]
|
||||
Home=file:///res/html/misc/welcome.html
|
||||
SearchEngine=
|
|
@ -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…
Reference in a new issue