1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 02:37:35 +00:00

Everywhere: Update references from ReadMe.md => README.md

This commit is contained in:
Andreas Kling 2021-04-11 10:52:25 +02:00
parent 698c38959d
commit 251018676f
6 changed files with 8 additions and 8 deletions

View file

@ -34,8 +34,8 @@ buffer while using the returned string.
int main()
{
char path1[] = "/home/anon/ReadMe.md";
dbgln("{}", basename(path1)); // should be "ReadMe.md"
char path1[] = "/home/anon/README.md";
dbgln("{}", basename(path1)); // should be "README.md"
char path2[] = "foo/bar/";
dbgln("{}", basename(path2)); // should be "bar"

View file

@ -35,7 +35,7 @@ buffer while using the returned string.
int main()
{
char path1[] = "/home/anon/ReadMe.md";
char path1[] = "/home/anon/README.md";
dbgln("{}", dirname(path1)); // should be "/home/anon"
char path2[] = "foo/bar/";

View file

@ -2,7 +2,7 @@
1. Download a copy of the Fuzzilli repo from https://github.com/googleprojectzero/fuzzilli
2. Install Swift and make sure it's in your path environment variable.
3. Build FuzzilliJs as you would the other fuzzers. [See README.md in the parent folder.](https://github.com/SerenityOS/serenity/blob/master/Meta/Lagom/ReadMe.md)
3. Build FuzzilliJs as you would the other fuzzers. [See README.md in the parent folder.](https://github.com/SerenityOS/serenity/blob/master/Meta/Lagom/README.md)
4. Apply the add-serenity-support-to-fuzzilli.patch patch file to the Fuzzilli root directory. ```patch -p1 < /path/to/add-serenity-support-to-fuzzilli.patch```
5. Build Fuzzilli with ```swift build -c release```
6. Run Fuzzilli with ```swift run -c release FuzzilliCli --profile=serenity /path/to/FuzzilliJs```. See ```swift run FuzzilliCli --help``` for options.

View file

@ -96,7 +96,7 @@ mkdir -p mnt/home/anon
mkdir -p mnt/home/anon/Desktop
mkdir -p mnt/home/anon/Downloads
mkdir -p mnt/home/nona
cp "$SERENITY_ROOT"/ReadMe.md mnt/home/anon/
cp "$SERENITY_ROOT"/README.md mnt/home/anon/
cp -r "$SERENITY_ROOT"/Userland/Libraries/LibJS/Tests mnt/home/anon/js-tests
cp -r "$SERENITY_ROOT"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests
chmod 700 mnt/root

View file

@ -14,7 +14,7 @@ IGNORE_FILES = {
PORT_TABLE_FILE,
'build_all.sh',
'build_installed.sh',
'ReadMe.md'
'README.md'
}

View file

@ -133,14 +133,14 @@ void SerendipityWidget::open_and_parse_tips_file()
void SerendipityWidget::open_and_parse_readme_file()
{
auto file = Core::File::construct("/home/anon/ReadMe.md");
auto file = Core::File::construct("/home/anon/README.md");
if (!file->open(Core::IODevice::ReadOnly))
return;
auto document = Markdown::Document::parse(file->read_all());
if (document) {
auto html = document->render_to_html();
m_web_view->load_html(html, URL::create_with_file_protocol("/home/anon/ReadMe.md"));
m_web_view->load_html(html, URL::create_with_file_protocol("/home/anon/README.md"));
}
}