Skip to content

vendeza/electron-poc

Repository files navigation


Electron-poc project uses Boilerplate for stable developing: https://github.com/electron-react-boilerplate/electron-react-boilerplate
For PDF view and render to text uses PDF.js: https://mozilla.github.io/pdf.js/

Install

First, clone the repo via git

And then install the dependencies with yarn.

$ cd your-project-name
$ yarn

Starting Development

Start the app in the dev environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:

$ yarn dev
$ yarn start in new window

Change code at app/ and app will rerender

Build

Windows:

$ yarn build:win

Linux:

$ yarn build:linux

P.S.
For linux build use Linux. Other OS give error.

MacOS:

$ build:mac

By default build for current platform and current arch. Use CLI flags --mac, --win, --linux to specify platforms. And --ia32, --x64 to specify arch. For example, to build app for MacOS, Windows and Linux:

$ electron-builder -mwl

More information: https://www.electron.build/multi-platform-build

About

Electron app for parsing PDF files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published