Coder Social home page Coder Social logo

Comments (5)

PekkaSavolainen avatar PekkaSavolainen commented on June 25, 2024

I'm not sure this will work as described above. Windows will probably complain about PermissionError or similar if you try and update the same files that are currently in memory.

However, I can see this working if the Help->Update Toolbox button first closes toolbox, and then updates the Git files.

from spine-toolbox.

soininen avatar soininen commented on June 25, 2024

Windows will probably complain about PermissionError or similar if you try and update the same files that are currently in memory.

I think Python actually uses the .pyc files while running so the .py files should remain modifiable.

That being said, I believe many updaters are actually separate programs from the main one so perhaps that is what we need to implement in the end as well.

from spine-toolbox.

PekkaSavolainen avatar PekkaSavolainen commented on June 25, 2024

I think we had this feature a long long time ago. I don't remember if we updated the whole spine toolbox or just some part of it. I think it was dropped because it did not work reliably on Windows, so that's why I'm a bit hesitant with this one. @manuelma may remember more?

That being said, I believe many updaters are actually separate programs from the main one so perhaps that is what we need to implement in the end as well.

Good point. Maybe this approach works better than what we previously had.

from spine-toolbox.

soininen avatar soininen commented on June 25, 2024

The big picture here is that once we can update Toolbox from within itself (maybe using a separate updater), we could try to implement an installer that would install the latest Toolbox (Git head or latest version tag). If Toolbox was able to update itself, we would not need to release updates to the installer, at least not too often.

from spine-toolbox.

soininen avatar soininen commented on June 25, 2024

Some application updater frameworks readily exist for Python, for example tufup. PyUpdater, on the other hand, seems to have become unmaintained.

from spine-toolbox.

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.