Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
losynix committed Jul 13, 2022
1 parent ac20ff8 commit 25cac00
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/kiosk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PKG=../../target/debian/usbsas-kiosk_$(VER)_amd64.deb
all: $(PKG)

nwjs-v$(NWJS_VER)-linux-x64.tar.gz:
wget "https://dl.nwjs.io/v$(NWJS_VER)/nwjs-v$(NWJS_VER)-linux-x64.tar.gz"
curl -O "https://dl.nwjs.io/v$(NWJS_VER)/nwjs-v$(NWJS_VER)-linux-x64.tar.gz"

usbsas-kiosk/opt/nwjs/nw: nwjs-v$(NWJS_VER)-linux-x64.tar.gz
mkdir -p usbsas-kiosk/opt/nwjs
Expand Down
5 changes: 5 additions & 0 deletions client/kiosk/usbsas-kiosk/DEBIAN/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Files: *
License: GPL-3.0

Files: opt/nwjs/*
License: MIT
5 changes: 5 additions & 0 deletions doc/build_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ or with nwjs:
$ nw client/nwjs
```

The antivirus analysis with the analyzer server is optional. To disable it,
comment or remove the `[analyzer]` section of the `config.toml` file. The
provided analyzer-server based on clamAV is mainly given as example, an
analyzer-server with multiple antiviruses should be preferred.

### Other applications

#### Fuse
Expand Down
8 changes: 7 additions & 1 deletion doc/kiosk.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ The generated packages will be located in `target/debian`.
$ sudo apt install -y --no-install-recommends curl pkgconf clang cmake git
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
$ source $HOME/.cargo/env
$ cargo install --git "https://github.com/kornelski/cargo-deb" cargo-deb
$ cargo install cargo-deb
```

### Clone usbsas
```shell
$ git clone https://github.com/cea-sec/usbsas
$ cd usbsas
```

### Set environment variables
Expand Down
1 change: 1 addition & 0 deletions usbsas-hid/hid-dealer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "hid-dealer"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0"
description = "usbsas userland HID manager"

[dependencies]
env_logger = "0.9.0"
Expand Down
1 change: 1 addition & 0 deletions usbsas-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "usbsas-server"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0"
description = "usbsas web server"

[dependencies]
actix-files = "0.6.1"
Expand Down

0 comments on commit 25cac00

Please sign in to comment.