usbsas
usbsas copied to clipboard
RTFM question
Sorry for stupid question...
If I want to change parameters in config.toml and config.css Do I need to rebuild, remove old and install new packages ?
So If I got it correctly(it works on my test machine):
For config.toml -> No just copy to
/etc/usbsas/config.toml
and reboot
For changes in css, html, js (usbsas/usbsas-client/web/) Rebuild & reinstall
$ cargo build --release -p usbsas-client
$ cargo-deb --manifest-path=usbsas-client/Cargo.toml --no-build
$ cd target/debian
$ sudo apt install ./usbsas-core_X.Y.Z_amd64.deb \
./usbsas-server_X.Y.Z_amd64.deb \
./usbsas-analyzer-server_X.Y.Z_amd64.deb \
./usbsas-kiosk_X.Y.Z_amd64.deb \
./usbsas-hid_X.Y.Z_amd64.deb
You can edit config.toml
after installing the package, it is considered as a configuration file so it won't be overwritten if you reinstall the usbsas-core
package.
If you want to edit the web files of the client, it would be better to edit them and then rebuild the usbsas-kiosk
package.