Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2020-12-12 18:53:16
Size: 370
Comment:
Revision 9 as of 2023-03-02 17:38:53
Size: 739
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

'''`electron(1)`''' is a framework for Node application.
Line 9: Line 11:
== electron-store == == Installation ==
Line 11: Line 13:
A simple data persistence solution for Electron apps, using minimal dependencies. It writes to `config.json` in `app.getPath('userData')`.

If the renderer needs access to the store, try:
Using `npm(1)`:
Line 16: Line 16:
const win = new BrowserWindow({ enableRemoteModule: true }) npm install --save-dev electron
Line 18: Line 18:

----



== Usage ==



=== Utilities ===

 * [[Node/Electron/App|app]]
 * [[Node/Electron/BrowserWindow|BrowserWindow]]
 * [[Node/Electron/Dialog|dialog]]
 * [[Node/Electron/IpcMain|ipcMain]]
 * [[Node/Electron/IpcRenderer|ipcRenderer]]
 * [[Node/Electron/Menu|Menu]]
 * [[Node/Electron/Shell|shell]]



=== Distribution ===

TODO: copy from [[https://www.electronjs.org/docs/tutorial/application-distribution#manual-distribution]].

See also [[Node/ElectronBuilder|electron-builder]].

Electron

electron(1) is a framework for Node application.


Installation

Using npm(1):

npm install --save-dev electron


Usage

Utilities

Distribution

TODO: copy from https://www.electronjs.org/docs/tutorial/application-distribution#manual-distribution.

See also electron-builder.


CategoryRicottone

Node/Electron (last edited 2023-03-02 17:38:53 by DominicRicottone)