clopos.electron

1.2.295 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.2952latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.2952
1.2.2941
1.2.2931
1.2.2921
1.2.2911
1.2.291
1.2.281
1.2.271
1.2.251
1.2.241
1.2.231
1.2.222
1.2.211
1.2.201
1.2.191
1.2.181
1.2.171
1.2.161
1.2.151
1.2.141
1.2.131
1.2.121
1.2.111

Package Sidebar

Install

npm i clopos.electron

Weekly Downloads

25

Version

1.2.295

License

MIT

Unpacked Size

187 kB

Total Files

50

Last publish

Collaborators

  • clopos