Draft: nongnu: Add saleae-logic2.
- gnu/packages/electronics.scm (saleae-logic2): New variable.
The issue here like with any Electron package is the ASAR format. Without proper extract method of app.asar
the package will never work.
I'm not sure how to package https://github.com/electron/asar. But if we pack it will pull a lot of dependencies just to extract one archive.
The right solution would be to write some small package with jq
and script that extracts all the files form app.asar
.
There is some plugin for 7Zip but it's proprietary and only for Windows. Also just GUI. Some that means we'll have to write one.