Guides › Desktop and apps

VS Code and other Electron apps

What works and what does not yet work when you run Visual Studio Code, or another app built on Electron, on Sovereign OS.

Many desktop apps are built on Electron: Visual Studio Code, chat apps, note apps and more. An Electron app is a web browser engine (Chromium) and a program runtime (Node.js) packed into one app. Sovereign OS runs the Windows version of these apps through its Windows compatibility layer. See Run Windows programs for how to start a Windows program.

This page says honestly where Electron apps stand today. Support is still being built, and none of it has been tried on every kind of PC yet.

Before you start

  • Use the Windows version of the app, the .zip or "portable" download if there is one. The Linux version cannot open windows on Sovereign OS (see below).
  • Unpack it into a folder, for example in Documents, and start the app's .exe file from Files.

What Sovereign OS does for Electron apps

When you start a program, Sovereign OS checks whether it is an Electron app. If it is, two settings are added for it:

  • No sandbox. Electron normally walls off web pages inside the app in a "sandbox". Sovereign OS cannot build that wall yet, so the app runs without it. Pages inside the app can do what the app itself can do. This is fine for an editor working on your own files. Be careful with apps that open web pages from people you do not know.
  • No graphics card. The app draws its window with the processor instead of the graphics card. Large windows can feel slow.

If the app's shortcut already chooses its own graphics setting, Sovereign OS leaves it alone.

Electron apps can also load the helper files they keep in a sub-folder next to the .exe. VS Code keeps most of its files there.

What does not work yet in VS Code

PartState
The built-in terminalDoes not work yet. It needs a Windows "pseudo console", which Sovereign OS does not have yet. Use the Sovereign OS Terminal next to VS Code instead
Signing in to Microsoft or GitHub accountsNot expected to work. The sign-in parts use Windows features that are missing
Serial port and MIDI devicesNot available to the app
Graphics card speedNot used, see above

The editor itself, opening folders and files, and searching are the parts we aim at first. When an app uses a Windows feature Sovereign OS does not have, a Program compatibility message names it (at most three times per app), and the app goes on.

Linux versions of Electron apps

Linux versions of Electron apps do not open windows yet. Linux programs on Sovereign OS can run in the Terminal, but there is no Linux window system for them to draw on. Use the Windows version of the app instead. See Linux programs.

If something goes wrong

  • A Program compatibility message says the app used something this system does not provide yet: write down the name and click OK. Most apps go on. If the app stops, it needs that feature and cannot run yet.
  • The app starts but shows a blank window: wait a little. Drawing without the graphics card is slow the first time. If it stays blank, close the app and start it again yourself.
  • The terminal panel in VS Code shows an error: this is expected for now. Use the Sovereign OS Terminal.
  • For other problems, see Run Windows programs.

Still stuck? Search the help center or contact support.