electron / electron/electron

Idea of runtime mode

Open
#673 296 comments 546 reactions 0 assignees View on GitHub
discussion
Dominant language
C++
Stars
123k
Forks
17.5k
Avg merge
14h 28m
Merged PRs (30d)
870

Description

Currently developers using atom-shell have to ship the whole atom-shell binaries when distributing their apps, but since now we have [asar](https://github.com/atom/asar) as atom-shell's app format, we may add runtime mode to atom-shell like [Adobe Air](http://www.adobe.com/products/air.html) or [Chrome Hosted Apps](https://developers.google.com/chrome/apps/docs/developers_guide) that developers only need to distribute packaged app in `asar` format as long as end users have the runtime mode of atom-shell installed.

The runtime mode can just be another app based on atom-shell (let's call it `atom-runtime` for now), and has deep platform integrations:
- On Windows, we can provide installer and auto updater for atom-runtime, and register the `.asar` file type to be opened with it.
- On Linux, we provide official software sources of atom-runtime for some popular distributions, and also register atom-runtime as handler of `.asar` files.
- On Mac, we need to provide a tool to help users package their apps into Mac bundles. We can reference how Steam created bundles for downloaded games, or how Parallel created bundles for applications in hosted OS.

We can even provide a tool or service to help generating installers for developers' apps which can automatically download atom-runtime if it is not installed on user's machine, just like many .NET applications.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.