Skip to content

Commit

Permalink
Gresource
Browse files Browse the repository at this point in the history
  • Loading branch information
gr211 committed Jun 24, 2020
1 parent 35b2375 commit 3aa0672
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ sharedir=$(DESTDIR)$(PREFIX)/share
target/release/authenticator-rs : src
cargo build --release

# Comping gResource
# Compiling gResource
gresource:
glib-compile-resources data/uk.co.grumlimited.authenticator-rs.xml

run: gresource
cargo run

# Install onto the system
install : target/release/authenticator-rs gresource
# Create the bindir, if need be
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,18 @@ Download from the [release](https://github.com/grumlimited/authenticator-rs/rele

pacman -U authenticator-rs-x.x.x-1-x86_64.pkg.tar.xz

## Building
## Building (dev)

cargo build

cargo install --path=.
make target/release/authenticator-rs

$HOME/.cargo/bin/authenticator-rust

## Running (dev)

make run

## Assets

Icon files are from [authenticator](https://gitlab.gnome.org/World/Authenticator).

Original GTK template from [Nora Codes - gDiceRoller](https://nora.codes/tutorial/speedy-desktop-apps-with-gtk-and-rust/) .
Original GTK template from [Nora Codes - gDiceRoller](https://nora.codes/tutorial/speedy-desktop-apps-with-gtk-and-rust/).

0 comments on commit 3aa0672

Please sign in to comment.