clopos.electron
1. Make sure you have node and npm installed 1.2 Install visual studio community edition 2. **npm install --global --production windows-build-tools --save-dev** // This will take some time. Run it once 3. **npm install** 4. Install typescript glob
Last updated a year ago by clopos .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install clopos.electron 
SYNC missed versions from official npm registry.

First time

  1. Make sure you have node and npm installed 1.2 Install visual studio community edition
  2. npm install --global --production windows-build-tools --save-dev // This will take some time. Run it once
  3. npm install
  4. Install typescript globally to have tsc cli available and run npm run compile
  5. npm run rebuild // Run it each time new module w/native dependencies is installed
  6. npm start

Building exe

  1. To build an exe npm run exe and look into new folder
  2. When you want to build an exe and have new dependencies for your electron app add them to the package.json inside dist/package.json . It's needed for electron exe builder to know what dependencies to install. It can't look into root directory package.json, because of some unwanted developer dependencies.

Printing for USB Devices

if you use usb as an adapter :

  • On Linux, you'll need libudev to build libusb.
  • On Ubuntu/Debian: sudo apt-get install build-essential libudev-dev.
  • On Windows, Use Zadig to install the WinUSB driver for your USB device

Otherwise you will get LIBUSB_ERROR_NOT_SUPPORTED when attempting to open devices.

Current Tags

  • 1.2.295                                ...           latest (a year ago)

23 Versions

  • 1.2.295                                ...           a year ago
  • 1.2.294                                ...           a year ago
  • 1.2.293                                ...           a year ago
  • 1.2.292                                ...           a year ago
  • 1.2.291                                ...           a year ago
  • 1.2.29                                ...           a year ago
  • 1.2.28                                ...           a year ago
  • 1.2.27                                ...           a year ago
  • 1.2.25                                ...           a year ago
  • 1.2.24                                ...           a year ago
  • 1.2.23                                ...           a year ago
  • 1.2.22                                ...           a year ago
  • 1.2.21                                ...           a year ago
  • 1.2.20                                ...           a year ago
  • 1.2.19                                ...           a year ago
  • 1.2.18                                ...           a year ago
  • 1.2.17                                ...           a year ago
  • 1.2.16                                ...           a year ago
  • 1.2.15                                ...           2 years ago
  • 1.2.14                                ...           2 years ago
  • 1.2.13                                ...           2 years ago
  • 1.2.12                                ...           2 years ago
  • 1.2.11                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (7)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |