Compare commits

..

2 Commits

Author SHA1 Message Date
leca 75e63cad03 fix build.sh 2024-03-26 22:10:04 +03:00
leca 2e717df795 readme changes 2024-03-26 22:09:06 +03:00
2 changed files with 7 additions and 6 deletions

View File

@ -2,18 +2,19 @@
## building
To build this on GNU/Linux
### 1.Install dependencies for your distro:
Everything, starting with ``$`` should be run as usual user without that sign. ``#`` in the start indicated that root is necessary.
#### Arch linux:
``sudo pacman -S glib2 rust``
``# sudo pacman -S glib2 rust``
#### Debian and derivatives:
``sudo apt install libglib2.0-0 cargo``
``# sudo apt install libglib2.0-0 cargo``
### 2.Build it:
```
chmod +x ./build.sh
./build.sh
$ chmod +x ./build.sh
$ ./build.sh
```
then, run it:
```
cargo run
$ cargo run
```
#### Windows
Windows sucks.

View File

@ -2,7 +2,7 @@
#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/
cp org.foxarmy.learn-hieroglyph.gschema.xml $HOME/.local/share/glib-2.0/schemas/
glib-compile-schemas $HOME/.local/share/glib-2.0/schemas/
#building