Giter Site home page Giter Site logo

Comments (10)

bordaigorl avatar bordaigorl commented on July 25, 2024 1

Thanks for testing and for the feedback!
As soon as I have the time to document this a bit I'll merge it.
I think for the moment submodules would be an overkill, I'm not expecting these binaries to be updated often if at all...but thanks for the idea, I'll keep it in mind if things change (for example if RM2 support happens).

from rmview.

ChrisPattison avatar ChrisPattison commented on July 25, 2024

It's worth mentioning that both of these files sum to 350KiB which is quite small

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Yes I considered this but I thought it is not nice to upload binaries to the tablet and execute them without the user's explicit consent.
What I would consider is to include a button in the UI to explicitly request the transfer.

from rmview.

ChrisPattison avatar ChrisPattison commented on July 25, 2024

I'm a bit partial to a terminal interface but otherwise I generally agree about uploading/running binaries

from rmview.

ChrisPattison avatar ChrisPattison commented on July 25, 2024

I have in mind to start on a PR for this (like rmview_install ) at some point, but there is a dependency on PR #11

from rmview.

ChrisPattison avatar ChrisPattison commented on July 25, 2024

As a heads up, I am working on this (WIP!) at https://github.com/ChrisPattison/rmview/tree/install
I think there's some work to be done if we want something explicit like a UI button. My plan is to wire this into a config option 'auto_install' that defaults to false.

Separately, currently, there is no checksum or check of /proc/cpuid when the kernel module is loaded. It seems like we might want to

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Nice! Thanks.
Ideally one would start the program and be presented with a messagebox if the binaries are missing, with a button offering to install them automatically.
I can quickly add the UI if the logic is in place.
[I guess the best solution would be to have a proper settings dialog...]

from rmview.

ChrisPattison avatar ChrisPattison commented on July 25, 2024

Nice! Thanks.
Ideally one would start the program and be presented with a messagebox if the binaries are missing, with a button offering to install them automatically.
I can quickly add the UI if the logic is in place.
[I guess the best solution would be to have a proper settings dialog...]

This sounds great. The logic is there although it might be a bit troublesome to plumb in

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

@ChrisPattison I added a branch with an alternative solution.
I included the binaries with the program resources so that installing does not need internet and we control the version and availability of the binaries.
Could you test it?

from rmview.

ChrisPattison avatar ChrisPattison commented on July 25, 2024

I've tested it on my end and it's all good. I think it's a great solution. One thing I would suggest is that the binaries go in a git submodule so that the repository isn't tracking diffs of binaries

from rmview.

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.