Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
grantshandy committed Mar 26, 2021
1 parent 57ae2cd commit 5232514
Showing 1 changed file with 6 additions and 27 deletions.
33 changes: 6 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,14 @@
<p align="center">A Simple GTK Translator</p>
<p align="center"><img src="https://raw.githubusercontent.com/skylinecc/gtktranslate/master/docs/screenshot.png" alt="Screenshot"></p>

## Installing
## Using
Gtktranslate needs `gtk4` for the GUI, which is the only dependency needed. After you've installed the libraries for gtk4, you can build it like so using cargo:

### Dependencies
Debian/Ubuntu

```
# apt install translate-shell cargo
```

gtktranslate is on [crates.io](https://crates.io), so you can install it from the terminal using [cargo](https://github.com/rust-lang/cargo/)

```
$ cargo install gtktranslate
```

## Building from Source
Building from source is very simple, just basic cargo building.

### Dependencies
Debian/Ubuntu:

$ cargo build --release
```
# apt translate-shell libgtk-3-dev cargo
```

### Building
Building is fairly simple, just:

Then after building, run:
```
$ git clone https://github.com/skylinecc/gtktranslate
# cd gtktranslate && make && make install
```
$ target/release/gtktranslate
```

0 comments on commit 5232514

Please sign in to comment.