Commit 2cff4557 authored by Meade's avatar Meade

Added instructions to README.md and fixed the install script.

parent ccd12688
......@@ -20,8 +20,16 @@ Written in Rust, using GTK3
## Building:
In Cargo.toml, set ```codegen-units``` to however many cores you want to use to compile.
To build, just run ```cargo build --release```. The resultant binary will be ```target/release/BrewStillery```.
To install/uninstall system-wide, run ```install.sh``` or ```uninstall.sh```
To install/uninstall system-wide, run ```install.sh``` or ```uninstall.sh``` from the scripts directory.
If you're installing with ```cargo install BrewStillery```, the logo image will be missing.
To fix this, you will need ```BrewStilleryLogo.svg``` from the media directory.
Install it with ```sudo install -Dm755 ../media/BrewStilleryLogo.svg /usr/share/BrewStillery/BrewStilleryLogo.svg```
## Sources:
......
......@@ -2,6 +2,6 @@
cargo build --release &&
sudo install -Dm755 ../target/release/BrewStillery /usr/bin/BrewStillery &&
install -Dm755 ../Arch/BrewStillery.desktop "$pkgdir/usr/share/applications/BrewStillery.desktop" &&
install -Dm755 ../media/BrewStilleryIcon.svg "$pkgdir/usr/share/BrewStillery/BrewStilleryIcon.svg" &&
install -Dm755 ../media/BrewStilleryLogo.svg "$pkgdir/usr/share/BrewStillery/BrewStilleryLogo.svg"
\ No newline at end of file
sudo install -Dm755 ../Arch/BrewStillery.desktop /usr/share/applications/BrewStillery.desktop &&
sudo install -Dm755 ../media/BrewStilleryIcon.svg /usr/share/BrewStillery/BrewStilleryIcon.svg &&
sudo install -Dm755 ../media/BrewStilleryLogo.svg /usr/share/BrewStillery/BrewStilleryLogo.svg
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment