push-app

Push an app to a client, uninstalling first if need be

Usage no npm install needed!

<script type="module">
  import pushApp from 'https://cdn.skypack.dev/push-app';
</script>

README

push-app

Push a Firefox OS app to a client, uninstalling first if need be

Install with NPM

Example

var pushApp = require('push-app');

pushApp(client, pathToApp).then(function(installResults) {
    // ...
});

where

  • client is an instance of firefox-client
  • pathToApp is the path in the file system to the Firefox OS app you want to be installed in the client