The live linux that helps you run @lfk/scanclient-electron
slax | ||
.drone.yml | ||
.gitignore | ||
download.js | ||
package.json | ||
README.md | ||
yarn.lock |
@lfk/scanclient-live
✒️ Overview
This is the a live linux distribution that autostarts @lfk/scanclient-electron after boot. Based on the awesome Slax Linux.
🚀 Setup
- Download the latest
lfk-scanclient-live
ZIP and unpack it - Copy the slax folder over to your USB drive
- Execute the
slax/boot/bootinst.bat
(Windows) orslax/boot/bootinst.sh
(Linux) Skript to make the usb bootable - Boot your system from the usb stick (legacy mode)
🌳 USB Filesystem Structure
If you followed everything, your USB should look like this:
G:\
└───slax
├───boot
├───changes
└───modules
🛠 Build it yourself
These steps rely on node:alpine, you can adopt them to your own os (mostly for depency installation)
apk add squashfs-tools git zip
yarn
yarn download
unsquashfs slax/modules/lfkscan.sb
rm -rf slax/modules/lfkscan.sb squashfs-root/root/lfkscan
mv out/\@lfk-scanclient-electron-linux-x64 squashfs-root/root/lfkscan
mksquashfs squashfs-root slax/modules/lfkscan.sb -b 1024k -comp xz -Xbcj x86 -e boot
rm -rf squashfs-root out electron.zip
zip -r dist/lfk-scanclient-live_custom_x64.zip slax