barcode-to-pc-server icon indicating copy to clipboard operation
barcode-to-pc-server copied to clipboard

Storage should be accessible also from the main process

Open fttx opened this issue 6 years ago • 2 comments

The current state of the system requires the main process to communicate with the renderer in order to perform actions to the localStorage. This increases the system complexity because implementing a feature that has nothing to do with the UI still requires to edit parts of the code contained in the ionic folder.

fttx avatar Sep 09 '18 11:09 fttx

image

fttx avatar Sep 09 '18 13:09 fttx

  • use electron-store module (see ionic/electronProvider) ✅
  • license.ts: convert all methods that looks like canUseX to limitFeatureX

fttx avatar Oct 01 '18 07:10 fttx