DesktopEntry.url

Set "URL" to link escaping the value if needed.

  1. string url()
  2. string url(string link)
    class DesktopEntry
    @safe
    string
    url
    (
    string link
    )

Examples

auto df = new DesktopFile(iniLikeStringReader("[Desktop Entry]\nType=Link\nURL=https://github.com/"));
assert(df.url() == "https://github.com/");

Meta