Electron App Mac Window Same Color As Background

Background and Requirements

Electron App Mac Window Same Color As Background Images

Windows 10 'Anniversary Update' is able to run win32 .exe binaries bylaunching them together with a virtualized filesystem and registry. Both arecreated during compilation by running app and installer inside a WindowsContainer, allowing Windows to identify exactly which modifications to theoperating system are done during installation. Pairing the executable with avirtual filesystem and a virtual registry allows Windows to enable one-clickinstallation and uninstallation.

In addition, the exe is launched inside the appx model - meaning that it can usemany of the APIs available to the Universal Windows Platform. To gain even morecapabilities, an Electron app can pair up with an invisible UWP background tasklaunched together with the exe - sort of launched as a sidekick to run tasksin the background, receive push notifications, or to communicate with other UWPapplications.

Electron App Mac Window Same Color As Background

To compile any existing Electron app, ensure that you have the followingrequirements:

  • Windows 10 with Anniversary Update (released August 2nd, 2016)
  • The Windows 10 SDK, downloadable here
  • At least Node 4 (to check, run node -v)

Electron App Mac Window Same Color As Background Images

The other thing we want to do is set a specific background color for your window. Webpages show a white loading page or show a white page while they load, but your app maybe doesn't have a white.

Mac

Electron App Mac Window Same Color As Background Check

Then, go and install the electron-windows-store CLI: