The live linux that helps you run @lfk/scanclient-electron
Go to file
Nicolai Ort 9584719d4d
Merge branch 'main' of git.odit.services:lfk/scanclient-live
2024-02-13 17:26:41 +01:00
slax Updated boot logo 2021-04-14 17:18:22 +02:00
.drone.yml fix(ci): Switched to non-drone env vars 2024-02-13 17:26:33 +01:00
.gitignore Initial commit 2021-04-14 12:58:02 +02:00
README.md updated readme 2023-01-30 17:10:03 +01:00
download.js Initial commit 2021-04-14 12:58:02 +02:00
package.json 🚀New package version 1.0.3 [CI SKIP] 2023-04-15 17:25:42 +00:00
yarn.lock Initial commit 2021-04-14 12:58:02 +02:00

README.md

@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

  1. Download the latest lfk-scanclient-live ZIP and unpack it
  2. Copy the slax folder over to your USB drive
  3. Execute the slax/boot/bootinst.bat (Windows) or slax/boot/bootinst.sh (Linux) Skript to make the usb bootable
  4. 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