ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.78k stars 1.34k forks source link

Enpass is not usable after initial install. #5613

Open tribina opened 3 years ago

tribina commented 3 years ago

Not sure if I should report it here, or to Enpass.

When I tried to use the enpass app installed via Scoop. I could not complete the the restore of my vault from my chosen could account. I kept being directed to authenticate, which succeed, but the landing page just sat there.

I found the problem after I installed it from the installer I got from their downloads page. When I tried it this way, the landing page opened the app to proceed to next step. This got me thinking that the scoop install does not properly establish the Open URL hooks for browser to open the app.

I found what these were by searching the registry for the two keys I thought were pertinent. I un-Installed enpass app installed via installer. Installed the enpass app from scoop. Updated the registry to scoop path. It then worked.

Reg Keys: Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\69C40F1B18E2DD1408BA174957650896] "CA6FF80C88C00F3408A9F894744D0A59"="00:\cloudkit-7adb8cc6tf.in.sinew.walletx\URL Protocol"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cloudkit-7adb8cc6tf.in.sinew.walletx] "URL Protocol"="" @="URL:cloudkit-7adb8cc6tf.in.sinew.walletx Protocol"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cloudkit-7adb8cc6tf.in.sinew.walletx\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cloudkit-7adb8cc6tf.in.sinew.walletx\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cloudkit-7adb8cc6tf.in.sinew.walletx\shell\open\command] @="C:\Users\{myuserID}\scoop\apps\enpass\current\Enpass.exe %1"

Not sure if this can be handled by scoop, or an issue that portable app does not do this upon startup.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

rashil2000 commented 2 years ago

Can you submit the above .reg file in a PR?