applicationsPaths

Applications paths based on data paths. This function is available on all platforms, but requires dataPaths argument (e.g. C:\ProgramData\KDE\share on Windows)

  1. string[] applicationsPaths(Range dataPaths)
    string[]
    applicationsPaths
    (
    Range
    )
    (
    Range dataPaths
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range : string)
    )
  2. string[] applicationsPaths()

Return Value

Type: string[]

Array of paths, based on dataPaths with "applications" directory appended.

Examples

assert(equal(applicationsPaths(["share", buildPath("local", "share")]), [buildPath("share", "applications"), buildPath("local", "share", "applications")]));

Meta