canmove, Confirmed users
1,570
edits
No edit summary |
|||
| Line 56: | Line 56: | ||
===Uninstall=== | ===Uninstall=== | ||
The bootstrap script may include an <code>uninstall</code> method and if so it will be called after the last call to <code>shutdown</code> before a particular version of an add-on is uninstalled. It will be passed the following arguments: | The bootstrap script may include an <code>uninstall</code> method and if so it will be called after the last call to <code>shutdown</code> before a particular version of an add-on is uninstalled. <code>uninstall</code> will only ever be called if <code>install</code> has been called at some point previously. It will be passed the following arguments: | ||
;data :A JS object containing basic information about the add-on, <code>id</code>, <code>version</code> and <code>installPath</code>. | ;data :A JS object containing basic information about the add-on, <code>id</code>, <code>version</code> and <code>installPath</code>. | ||