mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibFileSystem+Userland: Return ByteString from real_path()
This commit is contained in:
parent
cdf17efb9a
commit
56c5ffe398
25 changed files with 44 additions and 40 deletions
|
@ -179,7 +179,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
char hostname[HOST_NAME_MAX];
|
||||
VERIFY(gethostname(hostname, sizeof(hostname)) == 0);
|
||||
|
||||
auto url = URL::create_with_file_scheme(full_path_or_error.value().to_byte_string(), {}, hostname);
|
||||
auto url = URL::create_with_file_scheme(full_path_or_error.value(), {}, hostname);
|
||||
out("\033]8;;{}\033\\", url.serialize());
|
||||
printed_hyperlink = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue