GithubHelp home page GithubHelp logo

Comments (6)

katjaq avatar katjaq commented on July 2, 2024

Yes pleaaaaase! 😃 That would be amazing if you could provide a fix for this issue!! We do not have any windows machines for testing here... Thank you very very much!

I assigned the issue to you, and I added the label Hacktoberfest. <3

happy hacking!

from microdraw.

r03ert0 avatar r03ert0 commented on July 2, 2024

hi @xgui3783 !
I'm using the symlinks to update more easily to new library versions, by including the symlink name instead of the real library name. How would you do that in Windows?

from microdraw.

xgui3783 avatar xgui3783 commented on July 2, 2024

from microdraw.

pglock avatar pglock commented on July 2, 2024

While this does not solve the issue directly, PR #95 provides docker support. If you have docker installed, you can at least start microdraw in a container.

from microdraw.

xgui3783 avatar xgui3783 commented on July 2, 2024

just tested dockerized microdraw on windows. it seems existing on windows fs permanently destroys the symlink. ls -l openseadragon returns:

docker container running in windows:
-rwxr-xr-x 1 root root 23 Oct 19 11:44 openseadragon

docker container running in ubuntu:
lrwxrwxrwx 1 root root 23 Oct 23 08:40 openseadragon -> openseadragon-bin-2.3.1

from microdraw.

xgui3783 avatar xgui3783 commented on July 2, 2024

@r03ert0 @katjaq , @pglock and I were looking into a fix for windows machine unable to parse symlinks. PR #106 provides temporary fix to this, but we are hoping to convince you to use hard links (e.g. <script src = 'lib/openseadragon-bin-2.4.3/openseadragon.min.js'></script>)

The obvious winner is developers on windows, who do not need to rename/work with the docker workaround.
Another advantage is that docker-compose script (PR #106) will no longer need to be updated should the symlinks be changed.
Lastly, it is that it is consistent with the rest of the libraries. (see jquery-1.11.0.min.js and paper-full-0.9.25.min.js)

I understand this creates more work for those who develop in linux and macOS, when one wishes to change the version of OSD, OSD-Screenshot, FileSaver, but I am hoping that this does not happen frequent enough, and the pro outweighs the con.

Please let us know your opinions.

from microdraw.

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.