Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Penacillin committed Sep 18, 2021
1 parent 89e7b0b commit c22c7ed
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)

# set the project name
project(Knocker)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 17)

if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR)
message(FATAL_ERROR "Source and build directories cannot be the same.")
Expand Down
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,34 @@
# Knocker

# Build Requirements
A lightweight implementation of [libgourou](http://indefero.soutade.fr/p/libgourou/) utils.
Avoids use of QT.

# Build

## Requirements
```bash
cmake
libcurl4-openssl-dev
libssl-dev
zlib1g-dev
libzip-dev
```

## Build
If you have python invoke available
```bash
inv build -c
```
with just CMake:
```bash
cmake --configure --build build
cmake --build build --target all
```

## Usage
```bash
# To 'activate' a device (creates .xml and devicesalt files needed for acsmdownloader)
./build/bin/adeptactivate -u "username" -p "password"
# Download epub from acsm
./build/bin/acsmdownloader -f book.acsm
```

0 comments on commit c22c7ed

Please sign in to comment.