Options
All
  • Public
  • Public/Protected
  • All
Menu

System registry namespace.

Its main purpose is to administer the registration of apps.

Hierarchy

  • RegNS

Index

Methods

appExists

  • appExists(name: string): boolean
  • Check if an application exists.

    Parameters

    • name: string

      The name of the application.

    Returns boolean

deregisterApp

  • deregisterApp(name: string): void
  • Deregisters an app.

    Parameters

    • name: string

      The name of the app.

    Returns void

executeApp

  • executeApp(name: string, args: string[], executionContext: any): Promise<any>
  • Execute a named application.

    Parameters

    • name: string

      The name of the app to execute.

    • args: string[]

      Command line arguments.

    • executionContext: any

      An additional execution context to pass.

    Returns Promise<any>

getFileHandlers

  • getFileHandlers(path: string): string[]
  • Returns all applications which handle a particular file type.

    Parameters

    • path: string

      The path of the file to handle.

    Returns string[]

getInstalledApps

  • getInstalledApps(): string
  • Returns an array of installed app names.

    Returns string

getShellAppRegistry

  • Returns the shell app registry.

    Returns ShellApp[]

registerApp

  • registerApp(...args: any[]): void
  • deprecated

    Do not use this API. [restricted] See function definition for w96.app.register.

    Parameters

    • Rest ...args: any[]

    Returns void

Generated using TypeDoc