Skip to content

Basic Demo of Electron (w/ electron-forge v6) & Jimp

Notifications You must be signed in to change notification settings

andrewrt/jimp-ef6

Repository files navigation

jimp-ef6

Basic Demo of Electron (w/ electron-forge v6) & Jimp

This Electron + React App (w/ Webpack & Forge) shows how to create and show a grayscale basic png using Jimp

Instructions to run:

Developer Mode

  1. Pull in this repo
  2. npm i
  3. npm start

Production Mode

  1. Pull in this repo
  2. npm i
  3. npm run package
  4. go to the ./out folder to find the executable file that was just packaged and double click / invoke

You should see something like: Screen Shot 2019-11-12 at 12 37 26 PM

DIY

To create a similar project from scratch:

  1. Install electron-forge v6 npm i -g @electron-forge/cli
  2. create electron-forge project w/ webpack electron-forge init ef6-sharp --template=webpack
  3. add react: npm i --save react react-dom
  4. add babel: npm i --save-dev babel-loader @babel/core @babel/preset-env
  5. add .babelrc and update webpack.rules.js & app.js as shown in above repo

About

Basic Demo of Electron (w/ electron-forge v6) & Jimp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages