Created
July 23, 2015 16:24
-
-
Save SunboX/f429815796516c38a9ed to your computer and use it in GitHub Desktop.
If you did a addon a you've broken the addon settings - so you can't delete you addon anymore - try this... Open your WebIDE and open the "Settings" app on your phone ... Go to the Command Prompt and enter:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var AddonManager = require('modules/addon_manager'); | |
console.log(AddonManager.addons.array); | |
// Look for Array [ { _app: { manifestURL: 'app://45ba8d82-cb9b-46de-8cb4-5911a9167353/manifest.webapp' } } ] | |
AddonManager.findAddonByManifestURL('app://45ba8d82-cb9b-46de-8cb4-5911a9167353/manifest.webapp').then((addon) => { AddonManager.deleteAddon(addon); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment