Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Zeal working: Install location #103

Open
GHSoCoder opened this issue Jan 4, 2022 · 2 comments
Open

Getting Zeal working: Install location #103

GHSoCoder opened this issue Jan 4, 2022 · 2 comments

Comments

@GHSoCoder
Copy link

First an happy and succesfull year 2022,

yep, how I can get that extension working with Zeal. Zeal is installed in an non-standard location.

Many thanks and greetings
GHSoCoder

@Patabugen
Copy link

I installed Zeal using scoop - which didn't register the "dash-plugin://" handler.

I've got mine to work by manually adding it to the registry (Actually I installed Zeal with the installer, checked what it did and exported it before uninstalling that version).

Register the dash-plugin handler

Save this as dash-zeal.reg and run it to import the keys into your registry.

Change the path c:\\users\\user\\scoop\\apps\\zeal\\current\\zeal.exe below to match your installation location.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\dash-plugin]
@="Dash Plugin Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\dash-plugin\DefaultIcon]
@="\"c:\\users\\user\\scoop\\apps\\zeal\\current\\zeal.exe,1\""

[HKEY_CLASSES_ROOT\dash-plugin\shell]

[HKEY_CLASSES_ROOT\dash-plugin\shell\open]

[HKEY_CLASSES_ROOT\dash-plugin\shell\open\command]
@="\"c:\\users\\user\\scoop\\apps\\zeal\\current\\zeal.exe\" \"%1\""

Powershell Note

This could be written as PowerShell commands which would make it easier for others to use, unfortunately I've not got the time today.

Scoop Note

After installing with scoop which zeal actually returns C:\Users\user\scoop\shims\zeal.EXE - but I've used the direct path to avoid having a CMD window appear when I launch Zeal from VS Code. I don't imagine this will cause any problems.

@tomesparon
Copy link

If installing Zeal from scoop, in a powershell window ,do
zeal --register
And that should register it as the default handler for searches. This is better in case you have no access to registry editor.
Thanks for the extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants