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:
parent
698c38959d
commit
251018676f
6 changed files with 8 additions and 8 deletions
|
@ -34,8 +34,8 @@ buffer while using the returned string.
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
char path1[] = "/home/anon/ReadMe.md";
|
char path1[] = "/home/anon/README.md";
|
||||||
dbgln("{}", basename(path1)); // should be "ReadMe.md"
|
dbgln("{}", basename(path1)); // should be "README.md"
|
||||||
|
|
||||||
char path2[] = "foo/bar/";
|
char path2[] = "foo/bar/";
|
||||||
dbgln("{}", basename(path2)); // should be "bar"
|
dbgln("{}", basename(path2)); // should be "bar"
|
||||||
|
|
|
@ -35,7 +35,7 @@ buffer while using the returned string.
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
char path1[] = "/home/anon/ReadMe.md";
|
char path1[] = "/home/anon/README.md";
|
||||||
dbgln("{}", dirname(path1)); // should be "/home/anon"
|
dbgln("{}", dirname(path1)); // should be "/home/anon"
|
||||||
|
|
||||||
char path2[] = "foo/bar/";
|
char path2[] = "foo/bar/";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
1. Download a copy of the Fuzzilli repo from https://github.com/googleprojectzero/fuzzilli
|
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.
|
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```
|
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```
|
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.
|
6. Run Fuzzilli with ```swift run -c release FuzzilliCli --profile=serenity /path/to/FuzzilliJs```. See ```swift run FuzzilliCli --help``` for options.
|
||||||
|
|
|
@ -96,7 +96,7 @@ mkdir -p mnt/home/anon
|
||||||
mkdir -p mnt/home/anon/Desktop
|
mkdir -p mnt/home/anon/Desktop
|
||||||
mkdir -p mnt/home/anon/Downloads
|
mkdir -p mnt/home/anon/Downloads
|
||||||
mkdir -p mnt/home/nona
|
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/LibJS/Tests mnt/home/anon/js-tests
|
||||||
cp -r "$SERENITY_ROOT"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests
|
cp -r "$SERENITY_ROOT"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests
|
||||||
chmod 700 mnt/root
|
chmod 700 mnt/root
|
||||||
|
|
|
@ -14,7 +14,7 @@ IGNORE_FILES = {
|
||||||
PORT_TABLE_FILE,
|
PORT_TABLE_FILE,
|
||||||
'build_all.sh',
|
'build_all.sh',
|
||||||
'build_installed.sh',
|
'build_installed.sh',
|
||||||
'ReadMe.md'
|
'README.md'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -133,14 +133,14 @@ void SerendipityWidget::open_and_parse_tips_file()
|
||||||
|
|
||||||
void SerendipityWidget::open_and_parse_readme_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))
|
if (!file->open(Core::IODevice::ReadOnly))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto document = Markdown::Document::parse(file->read_all());
|
auto document = Markdown::Document::parse(file->read_all());
|
||||||
if (document) {
|
if (document) {
|
||||||
auto html = document->render_to_html();
|
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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue