diff --git a/README b/README index 24f6f10..2c2dd53 100644 --- a/README +++ b/README @@ -1,9 +1,6 @@ --- Build instructions -- +-- Install instructions -- -mkdir build -cd build -cmake ../ -make +Just run `scripts/install.sh` ./discord-screenaudio diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100755 index 0000000..e7e393e --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,6 @@ +#!/usr/bin/bash + +export CMAKE_GENERATOR="Ninja" +cmake -B build +cmake --build build --config Release +sudo cmake --install build