Git Product home page Git Product logo

Comments (3)

chrisant996 avatar chrisant996 commented on September 25, 2024

You somehow have the ancient mridgers 0.4.9 version of Clink installed (it's from a different repo, which has been abandoned for many years).

You need to install the Clink from this repo.

You didn't say how you installed Clink, but I'm guessing you used Scoop and chose "Clink" instead of "clink-maintained". The owner of the "Clink" entry in Scoop refuses to update it to the current version. Complain to that person; there's nothing I can do to fix the Scoop confusion.

from clink.

SnJaB avatar SnJaB commented on September 25, 2024

I apologize for confusing the versions, I uninstalled the old version and installed version (setup.exe) from this repo.

I still face the same problem, which is clink is not recognized in command prompt when opened normally.

C:\Program Files (x86)\clink>clink info
version : 1.6.3.af47db
session : 1800
injected : clink_dll_x64.dll
binaries : C:\Program Files (x86)\clink
state : C:\Users\pc\AppData\Local\clink
log : C:\Users\pc\AppData\Local\clink\clink.log
default settings : C:\Program Files (x86)\clink\default_settings
settings : C:\Users\pc\AppData\Local\clink\clink_settings
history : C:\Users\pc\AppData\Local\clink\clink_history
scripts : C:\Program Files (x86)\clink ; C:\Users\pc\AppData\Local\clink
default_inputrc : C:\Program Files (x86)\clink\default_inputrc
inputrc : %clink_inputrc%
(unset)
: state directory
C:\Users\pc\AppData\Local\clink.inputrc
C:\Users\pc\AppData\Local\clink_inputrc
: %userprofile%
C:\Users\pc.inputrc
C:\Users\pc_inputrc
: %localappdata%
C:\Users\pc\AppData\Local.inputrc
C:\Users\pc\AppData\Local_inputrc
: %appdata%
C:\Users\pc\AppData\Roaming.inputrc
C:\Users\pc\AppData\Roaming_inputrc
: %home%
C:\Users\pc.inputrc
C:\Users\pc_inputrc
codepage : 1252
keyboard langid : 1033
keyboard layout : 00000409

C:\Program Files (x86)\clink>clink autorun show

Current AutoRun values

Current user:

native : if exist "C:\Users\pc\anaconda3\condabin\conda_hook.bat" "C:\Users\pc\anaconda3\condabin\conda_hook.bat"&"C:\Program Files (x86)\clink\clink.bat" inject --autorun --profile ~\clink
 wow64 : "C:\Program Files (x86)\clink\clink.bat" inject --autorun --profile ~\clink

All users:

native : <unset>
 wow64 : <unset>

clink.log
0708 app_context::start_logger 476 ---- 2024/02/16 22:56:44.418 -------------------------------------------------
0708 app_context::start_logger 479 Host process is 'cmd.exe' (pid 1800)
0708 app_context::start_logger 483 DLL path is 'C:\Program Files (x86)\clink'
0708 app_context::start_logger 498 Windows version 10.0.22631 (x64)
0708 app_context::start_logger 500 Clink version 1.6.3.af47db (x64)
0708 hook_setter::hook_setter 159 >>> Started hook transaction.
0708 hook_setter::attach_iat 316 Attempting to hook SetEnvironmentVariableW in IAT for module 00007FF6528B0000.
0708 pe_info::iterate_imports 195 Found import in 'api-ms-win-core-processenvironment-l1-1-0.dll'
0708 find_iat 124 Found import at 00007FF6528E6E98 (value is 00007FFFAD89A4B0).
0708 hook_setter::attach_iat 316 Attempting to hook SetEnvironmentStringsW in IAT for module 00007FF6528B0000.
0708 pe_info::iterate_imports 195 Found import in 'api-ms-win-core-processenvironment-l1-1-0.dll'
0708 find_iat 124 Found import at 00007FF6528E6EA8 (value is 00007FFFAD9798C0).
0708 hook_setter::attach_iat 316 Attempting to hook WriteConsoleW in IAT for module 00007FF6528B0000.
0708 pe_info::iterate_imports 195 Found import in 'api-ms-win-core-console-l1-1-0.dll'
0708 find_iat 124 Found import at 00007FF6528E6AF0 (value is 00007FFFAD85CD50).
0708 hook_setter::attach_iat 316 Attempting to hook GetEnvironmentVariableW in IAT for module 00007FF6528B0000.
0708 pe_info::iterate_imports 195 Found import in 'api-ms-win-core-processenvironment-l1-1-0.dll'
0708 find_iat 124 Found import at 00007FF6528E6E68 (value is 00007FFFAD845BE0).
0708 hook_setter::commit 207 <<< Hook transaction committed.
0708 hook_setter::hook_setter 159 >>> Started hook transaction.
0708 hook_setter::detach_iat 359 Attempting to unhook 00007FFF27A1D770 from GetEnvironmentVariableW in IAT for module 00007FF6528B0000.
0708 pe_info::iterate_imports 195 Found import in 'api-ms-win-core-processenvironment-l1-1-0.dll'
0708 find_iat 124 Found import at 00007FF6528E6E68 (value is 00007FFF27A1D770).
0708 hook_setter::commit 207 <<< Hook transaction committed.
0708 hook_setter::hook_setter 159 >>> Started hook transaction.
0708 hook_setter::attach_iat 316 Attempting to hook ReadConsoleW in IAT for module 00007FF6528B0000.
0708 pe_info::iterate_imports 195 Found import in 'api-ms-win-core-console-l1-1-0.dll'
0708 find_iat 124 Found import at 00007FF6528E6AE8 (value is 00007FFFAD8D5A60).
0708 hook_setter::commit 207 <<< Hook transaction committed.
0708 hook_setter::hook_setter 159 >>> Started hook transaction.
0708 hook_setter::attach_iat 316 Attempting to hook SetConsoleTitleW in IAT for module 00007FF6528B0000.
0708 pe_info::iterate_imports 195 Found import in 'api-ms-win-core-console-l2-2-0.dll'
0708 find_iat 124 Found import at 00007FF6528E6B48 (value is 00007FFFAD8D64F0).
0708 hook_setter::commit 207 <<< Hook transaction committed.
0708 win_screen_buffer::begin 366 Using native terminal support (auto mode found 'OpenConsoleProxy.dll').
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 host_lua::load_scripts 192 Loaded 0 Lua scripts in 0 ms
0708 ={update.lua} 0 Clink updater: updating because there is no record of having updated before.
0708 extract_ctag 924 read 0 bytes
0708 extract_ctag 924 read 0 bytes
0708 history_db::initialise 1262 master bank ctag: |CTAG_1708117004_352031_1800_0
0708 history_db::compact 1540 History: 0 active, 0 deleted
0708 ={update.lua} 0 Clink updater: latest release is v1.6.3; install type is zip.
0708 ={update.lua} 0 Clink updater: no update available; local version v1.6.3 is not older than latest release v1.6.3.
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 history_db::compact 1540 History: 0 active, 0 deleted
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 history_db::compact 1540 History: 0 active, 0 deleted
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 history_db::compact 1540 History: 0 active, 0 deleted
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 history_db::compact 1540 History: 0 active, 0 deleted
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 history_db::compact 1540 History: 0 active, 0 deleted
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 history_db::compact 1540 History: 0 active, 0 deleted
0708 reset_handle 144 resetting mismatched stdout handle
0708 reset_handle 144 resetting mismatched stderr handle
0708 history_db::compact 1540 History: 0 active, 0 deleted

from clink.

chrisant996 avatar chrisant996 commented on September 25, 2024

Oh, it's a duplicate of #357. It's a bug in anaconda's install code; see the other issue for more info and workaround.

You can open an issue against anaconda asking for the install code to get fixed to not interfere with other programs that also make use of the AutoRun regkey.

from clink.

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.