All Projects → sentialx → Electron Global

sentialx / Electron Global

Licence: mit
One Electron instance for multiple apps

Projects that are alternatives of or similar to Electron Global

Stagesepx
detect stages in video automatically
Stars: ✭ 293 (+127.13%)
Mutual labels:  lightweight, app
Quick Picture Viewer
🖼️ Lightweight, versatile desktop image viewer for Windows. The best replacement for the default Windows photo viewer.
Stars: ✭ 237 (+83.72%)
Mutual labels:  lightweight, app
Spirit
🙌 Play Spirit animations on the web
Stars: ✭ 719 (+457.36%)
Mutual labels:  runtime, app
oasis-sdk
Official SDK for the Oasis Network.
Stars: ✭ 57 (-55.81%)
Mutual labels:  builder, runtime
Quick Screen Recorder
Lightweight desktop screen recorder for Windows.
Stars: ✭ 80 (-37.98%)
Mutual labels:  lightweight, app
React Select Me
Fast 🐆. Lightweight 🐜. Configurable 🐙. Easy to use 🦄. Give it a shot 👉🏼
Stars: ✭ 119 (-7.75%)
Mutual labels:  lightweight
Dotnetbook
.NET Platform Architecture book (English, Chinese, Russian)
Stars: ✭ 1,763 (+1266.67%)
Mutual labels:  runtime
Lunatic
Lunatic is an Erlang-inspired runtime for WebAssembly
Stars: ✭ 2,074 (+1507.75%)
Mutual labels:  runtime
100 Words Design Patterns Java
GoF Design Patterns, each pattern described with story from real life.
Stars: ✭ 117 (-9.3%)
Mutual labels:  builder
Android Cnblogs
🔥🔥 博客园Android端开源项目,界面简洁清新。
Stars: ✭ 127 (-1.55%)
Mutual labels:  app
Electron Builder
A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
Stars: ✭ 11,653 (+8933.33%)
Mutual labels:  builder
Liblightmodbus
A cross-platform, lightweight Modbus RTU library
Stars: ✭ 121 (-6.2%)
Mutual labels:  lightweight
Crepe
The thin API stack.
Stars: ✭ 120 (-6.98%)
Mutual labels:  lightweight
Episodie
Episodie is a TV show time tracker app with unusual design written in kotlin and clean architecture approach. Get to know how much time you spent watching tv shows.
Stars: ✭ 125 (-3.1%)
Mutual labels:  app
Gakki
🌼🌸 A React Native App for Mastodon. 一个由React Native编写的长毛象客户端App🦋
Stars: ✭ 120 (-6.98%)
Mutual labels:  app
Kubler
A generic, extendable build orchestrator.
Stars: ✭ 126 (-2.33%)
Mutual labels:  builder
Appmanager
一款直接显示App所有信息的App
Stars: ✭ 118 (-8.53%)
Mutual labels:  app
Barcode To Pc App
Barcode to PC app
Stars: ✭ 121 (-6.2%)
Mutual labels:  app
Directus
Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.
Stars: ✭ 13,190 (+10124.81%)
Mutual labels:  app
Machinelearning
An easy neural network for Java!
Stars: ✭ 122 (-5.43%)
Mutual labels:  lightweight

electron-global

Travis Downloads PayPal Discord

A tool for building lightweight Electron apps using a global Electron instance. Forget about 100MB for a Hello World app in Electron!

How it works?

electron-global creates a custom Electron distributable with a small app launcher which checks the app's package.json and downloads corresponding major version and the newest in case of minor and patch. The Electron versions are being saved to:

  • on macOS and Linux: ~/.electron-global/x
  • on Windows: %HOMEPATH%/.electron-global/x

Where x is the major version of Electron (e.g. 6).

Then the distributable can be used with electron-builder to build the app installers.

Installation

The electron-builder package is also required to successfully build an app.

$ npm install --save-dev electron-global electron-builder

Usage

You need to create electron-builder.json file in your project directory, configure it and specify electronDist directory to where the electron-global generates the output (default is ./electron-global). Example:

{
  ...
  "electronDist": "./electron-global"
  ...
}

Then you can run the following command (example for macOS):

$ electron-global -m && electron-builder -m

CLI Options:

Usage: electron-global [options]

Options:
  -m, --mac                Create Electron dist for macOS.
  -l, --linux              Create Electron dist for Linux.
  -w, --windows            Create Electron dist for Windows.
  -o, --output <path>      Output path of the created Electron runtime launcher. Defaults to `./dist/runtime`.
  --projectDir, --project  The path to project directory. Defaults to current working directory.
  -h, --help               output usage information

Known limitations

  • electronDist also applies to rebuilding native modules, therefore these won't work.
  • It does not remove unused Electron versions.
  • Apps will be listed in task managers as Electron, not as processes with the actual app name and icon.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].