felixrieseberg / electron-uwp-background

:zap: Sample explaining how to use UWP background tasks with Electron apps
MIT License
82 stars 13 forks source link

Electron & UWP Background Task

This repository contains sample code showing how to use background tasks from Electron apps. A background task can be used to interact with the user's operating system when the application is not running - for instance to display toast notifications or to update live tiles.

Two components are required:

The background task needs to be registered at runtime, usually during the first launch of your application. For the sake of simplicity, this example uses a little invisible .NET console app invoked by the Electron app at launch, but you're at liberty to perform the registration of the background task with any means you see fit.

Prerequisites

Running the Example

Building from Source

License

MIT; Copyright (c) 2016 Microsoft Corporation & Felix Rieseberg. See LICENSE.md for details.