这篇翻译不完整。请帮忙从英语翻译这篇文章。
Properties
-
archive
-
Full local path of the archive after it is downloaded to the platform specific temp folder. (e.g.
C:\TEMP\argstest.xpi
) -
arguments
-
args can be passed in through the triggering APIs by attaching a ? and then the rg string to the xpi URL: (e.g.
startSoftwareUpdate("https://webserver/argstest.xpi?ARGUMENT_STRING")
will result in the value ofInstall.arguments
beingARGUMENT_STRING
#). Note that spaces in the arg string are legal. Everything after the question mark is treated as one string which becomes theInstall.arguments
property. -
buildID
- The application build ID in the form 20041231. Note that due to branching (different versions of Gecko with different feature sets might be built on the same day), using this property to "detect" the application version may produce false results. Additionally, the build ID can be 0 for custom builds.
-
jarfile
-
Alias for
archive
-
platform
- Contains information about the platform XPInstall was compiled for/runs on. For example, the value could begin with "Windows", "Macintosh" or "X11" (for Unix/Linux). For more details, see the corresponding code living in the GetInstallPlatform method of class nsInstall.
-
url
-
The fully qualified URL of the xpi (file URL, http URL, ftp URL, etc.) (e.g.
https://dolfin/sgehani/zzz/ip.xpi
). Note, even if triggered using relative URLs this will show the full URL (after qualification).