Code Monkey home page Code Monkey logo

Comments (5)

aardappel avatar aardappel commented on July 17, 2024

treesheets expects images (and all other files) to be relative to the directory the exe sits in. The Makefile places the exe in the TS directory that contains all runtime files. Are you building/moving the exe to an unrelated location?

from treesheets.

despens avatar despens commented on July 17, 2024

In order to run with a launcher or from the command line, I'd need to place TreeSheets into /bin, /usr/bin, ~/bin or the like. But even if I put images there as well, the icons won't be loaded. Some distros seem to have solved that problem somehow, but I need the latest version :)

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

There may be restrictions on file access to /bin, not sure. Either way, it wasn't mean't to be moved there, and images certainly shouldn't go there. It should stay with its data files in a local directory, or simply installed thru apt-get or similar (there's quite a few distros that have it).

from treesheets.

infinity0 avatar infinity0 commented on July 17, 2024

I'm simply patching the path in Debian (and here is the installation layout) but one could probably make this configurable via cmake. Also I'm happy to have a co-maintainer for this package if anyone wants to volunteer, I don't have much time for my smaller packages these days.

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

@infinity0 I guess I am not that familiar with how this is usually done on Linux.. I guess this is normally done via an install rule? I'd agree that making the CMake file deal with this rather than patching would be nicer.

It be nice if the source code would "just work" for Linux.. but it has to keep working for other platforms as well, which all use a directory layout that corresponds to the git repository.

from treesheets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.