GithubHelp home page GithubHelp logo

Comments (7)

chrisant996 avatar chrisant996 commented on May 24, 2024 1

Please close this out, I'm not sure why it was happening but I can't repro it anymore

@mattdkerr If you run into it again, please open an issue and include (1) the output from clink info, (2) the contents from the clink.log file (the location of the file is listed in the clink info output), and (3) a description of the steps and the results and output from them. Thanks!

from cmder.

chrisant996 avatar chrisant996 commented on May 24, 2024

@mattdkerr I'm the maintainer of Clink. Can you please share more about "Clink update reminders don't work properly"? No one has reported anything like that in the Clink repo. Please include as many details as possible about what happens (or doesn't) and how to reproduce the problem.

  • Have you turned off Clink update notifications, but you're still getting them?
  • Are you getting update notifications but the update doesn't finish successfully?
  • Or is something else happening?

Please share details, and the clink.log file.

from cmder.

chrisant996 avatar chrisant996 commented on May 24, 2024

@mattdkerr Can you share details about "Clink update reminders don't work properly"?

With more information, troubleshooting can happen, leading to a solution.

from cmder.

mattdkerr avatar mattdkerr commented on May 24, 2024

I believe the built in clink update command (banner on shell open) installs to a system location instead of where cmder puts it.

from cmder.

chrisant996 avatar chrisant996 commented on May 24, 2024

I believe the built in clink update command (banner on shell open) installs to a system location instead of where cmder puts it.

No: clink update installs to the location of the Clink program files that get executed.

However, if you have also installed Clink separately from Cmder, and have configured Clink for AutoRun, then there's probably an edge case involved:

In that case, BOTH copies of Clink are actively trying to work together. That would require updating BOTH copies of Clink.

What you should do to fix that complex configuration inter-dependency, is use clink autorun uninstall, and then use clink autorun install from inside Cmder. Then the Cmder copy is the one that will always get injected first, and then updating from inside Cmder will work.

It's not exactly a Clink issue, it's more of an issue with how Cmder tries to override Clink using an undocumented debugging switch.

I'll try to think about what could be done about that. Cmder does not expect you to install a second copy of Clink separately.

UPDATE:

But no, my earlier guess above doesn't seem accurate. I tried it, and everything seemed to work correctly, even with two copies of Clink installed (one standalone Clink installed to a separate location with AutoRun enabled, and a second Clink installed as part of Cmder).

@mattdkerr Can you please share:

  • The output from clink info inside Cmder.
  • How many copies of Clink you have installed, and what versions they are.
  • What goes wrong? What observation led to the statement "...clink update reminders, which don't work properly anyway"?

The guess about installing to a system location doesn't give me information to do troubleshooting (and isn't what happens).

from cmder.

chrisant996 avatar chrisant996 commented on May 24, 2024

I believe the built in clink update command (banner on shell open) installs to a system location instead of where cmder puts it.

@mattdkerr in addition to my previous reply, can you please share details about what you do and what goes wrong? I appreciate the guess you shared, but to get to the bottom of what's really happening, it would help if information could be shared about what actually happens. I can't see it for myself, so I need more information to do troubleshooting.

(And in case it wasn't clear, the reason I'm asking is that I'm the maintainer of Clink, and no one has reported anything that sounds like this before in the Clink repo or Cmder repo.)

UPDATE:

@mattdkerr Here is the only thing I've been able to find:

If Clink is installed separately and configured for AutoRun and Cmder is also installed, then clink update updates whichever copy of Clink is configured for AutoRun. And that's expected and correct behavior.

And in that case, if one inspects the versions of the Clink files under the Cmder\vendor directory, then one will see older Clink version numbers. Which is also expected and correct behavior.

But that doesn't lead to any problems with clink update reminders: the copy configured for AutoRun is the copy that gets injected, and is the copy that gets updated. In that case, clink update reminders are working correctly and accurately.

So, I think you must be encountering something different, and to do troubleshooting about whatever you're experiencing, additional information is needed (also see my previous reply, which has specific questions).

from cmder.

mattdkerr avatar mattdkerr commented on May 24, 2024

Please close this out, I'm not sure why it was happening but I can't repro it anymore

from cmder.

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.