Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unable to find resource" #24

Closed
geek-merlin opened this issue Dec 5, 2018 · 4 comments
Closed

"Unable to find resource" #24

geek-merlin opened this issue Dec 5, 2018 · 4 comments

Comments

@geek-merlin
Copy link

What are the minimum necessary steps to reproduce this issue?

  • Build the app on current ubuntu like described in readme.

What happens?

On startup i see messages

Unable to find stylesheet

Unable to find resource inbox.png

(and 6 other pngs)

I see the bin in effitask/target/release, and i see the resource files in effitask/resources.

@sanpii
Copy link
Collaborator

sanpii commented Dec 13, 2018

Sorry, the documentation was ambiguous. After the installation, you should execute /usr/bin/effitask.

If you want to test it from source, you could simply execute cargo run.

I updated the README, fell free to reopen the issue if it’s still unclear.

@sanpii sanpii closed this as completed Dec 13, 2018
@geek-merlin
Copy link
Author

Uuups, i maybe forgot a maybe important circumstance: I compiled it in my userland dir and want to execute it there. Maybe this boils down to an issue like "How do i install without sudo".

(Looks like i can not reopen)

@sanpii sanpii reopened this Dec 14, 2018
@sanpii
Copy link
Collaborator

sanpii commented Dec 14, 2018

I updated the Makefile, now you can do:

 make install PREFIX=$HOME/.local/

The files will be installed in ~/.local/bin (add it to your PATH) and ~/.local/share, the default value for XDG_DATA_HOME variable where the program looks for assets.

@geek-merlin
Copy link
Author

Yeah thanks this works and now i see shiny buttons!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants