build instructions and readme changes

This commit is contained in:
leca 2024-03-26 13:49:32 +03:00
parent 41ec61d529
commit d765cbbd9b
2 changed files with 31 additions and 0 deletions

View File

@ -1,2 +1,24 @@
# learn-hieroglyphs
## building
To build this on GNU/Linux:
1.Install dependencies for your distro:
### Arch linux:
``sudo pacman -S glib2 rust``
### Debian and derivatives:
``sudo apt install glib2.0-0 rust``
2.Build it:
```
chmod +x ./build.sh
./build.sh
```
then, run it:
```
cargo run
```
Windows sucks.
##Contributing
Contributing is welcome! Please, make an issue if you found a bug.
Ideas are welcomed as well!
##Закрытие проекта
скоро..

9
build.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
#Compile schemas for gtk settings
mkdir -p $HOME/.local/share/glib-2.0/schemas
cp org.gtk_rs.Settings1.gschema.xml $HOME/.local/share/glib-2.0/schemas/
glib-compile-schemas $HOME/.local/share/glib-2.0/schemas/
#building
cargo build