1.2.295 • Published 5 years ago

clopos.electron v1.2.295

Weekly downloads
16
License
MIT
Repository
bitbucket
Last release
5 years ago

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.

1.2.295

5 years ago

1.2.294

5 years ago

1.2.293

5 years ago

1.2.292

5 years ago

1.2.291

5 years ago

1.2.29

5 years ago

1.2.28

5 years ago

1.2.27

5 years ago

1.2.25

5 years ago

1.2.24

5 years ago

1.2.23

5 years ago

1.2.22

5 years ago

1.2.21

5 years ago

1.2.20

5 years ago

1.2.19

5 years ago

1.2.18

5 years ago

1.2.17

5 years ago

1.2.16

5 years ago

1.2.15

5 years ago

1.2.14

5 years ago

1.2.13

5 years ago

1.2.12

5 years ago

1.2.11

5 years ago