ScoopInstaller / Extras

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

[Bug]: Streamdeck missing url handlers #12096

Open Sacro opened 11 months ago

Sacro commented 11 months ago

Prerequisites

Package Name

streamdeck

Expected/Current Behaviour

Streamdeck marketplace uses urls to send things back to the client, these handlers aren't being registered by scoop, if you need I can provide a list of the ones the official installer currently sets.

Steps to Reproduce

Install `streamdeck`, try and add plugins via the marketplace, they don't get forwarded to the app.

Possible Solution

Add the required registry keys for the URL handlers

Scoop and Buckets Version

scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
091136756 (HEAD -> master, origin/master, origin/HEAD) xx-net: Update to version 5.8.3

'games' bucket:
885c5b973 (HEAD -> master, origin/master, origin/HEAD) xenia-canary: Update to version 20231025073728-ebdea6b

'hymkor' bucket:
f35af18 (HEAD -> master, origin/master, origin/HEAD) Update htnblog to v0.3.0

'java' bucket:
854cde18 (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.392-8.0.202310231911

'main' bucket:
c58a9e54f (HEAD -> master, origin/master, origin/HEAD) zls: Update to version 0.11.0 (#5213)

'nerd-fonts' bucket:
8585051 (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 0.42.3

'nirsoft' bucket:
928ae90 (HEAD -> master, origin/master, origin/HEAD) Updated CountryTraceRoute, MobileFileSearch

'nonportable' bucket:
bddda8e (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 1.0.81

'php' bucket:
f946dc5 (HEAD -> master, origin/master, origin/HEAD) php8.2: Update to version 8.2.11

'spotify' bucket:
86327a6 (HEAD -> master, origin/master, origin/HEAD) blockthespot: Update to version 2023.10.20.97

'sysinternals' bucket:
b17427d (HEAD -> main, origin/main, origin/HEAD) vmmap: Update to version 3.4

'versions' bucket:
0ac3682d4 (HEAD -> master, origin/master, origin/HEAD) vscode-insiders: Update to version 1.84.0-insider+1698212304404

Scoop Config

scoop config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------

PowerShell Version

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.8
PSEdition                      Core
GitCommitId                    7.3.8
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

stjeffrey commented 11 months ago

I took the registry keys from a traditional install. Note that you should install the app globally or else you'll need to update the path of the executable to you user folder. It makes more sense to install it globally since the url handlers are global in HKCR.

` Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT.streamDeckAudio] @="StreamDeck.streamDeckAudio" "Content Type"="application/streamDeckAudio"

[HKEY_CLASSES_ROOT.streamDeckIconPack] @="StreamDeck.streamDeckIconPack" "Content Type"="application/streamDeckIconPack"

[HKEY_CLASSES_ROOT.streamDeckPlugin] @="StreamDeck.streamDeckPlugin" "Content Type"="application/streamDeckPlugin"

[HKEY_CLASSES_ROOT.streamDeckProfile] @="StreamDeck.streamDeckProfile" "Content Type"="application/streamDeckProfile"

[HKEY_CLASSES_ROOT.streamDeckProfilesBackup] @="StreamDeck.streamDeckProfilesBackup" "Content Type"="application/streamDeckProfilesBackup"

[HKEY_CLASSES_ROOT\streamdeck] "URL Protocol"="" @=""

[HKEY_CLASSES_ROOT\streamdeck\DefaultIcon] @="StreamDeck.exe,1"

[HKEY_CLASSES_ROOT\streamdeck\shell]

[HKEY_CLASSES_ROOT\streamdeck\shell\open]

[HKEY_CLASSES_ROOT\streamdeck\shell\open\command] @="\"C:\ProgramData\scoop\apps\streamdeck\current\StreamDeck.exe\" \"%1\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckAudio] @="Stream Deck Audio"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckAudio\DefaultIcon] @="\"C:\ProgramData\scoop\apps\streamdeck\current\audioAsset.ico\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckAudio\shell]

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckAudio\shell\open] @="Open"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckAudio\shell\open\command] @="\"C:\ProgramData\scoop\apps\streamdeck\current\StreamDeck.exe\" \"%1\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckIconPack] @="Stream Deck Icon Pack"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckIconPack\DefaultIcon] @="\"C:\ProgramData\scoop\apps\streamdeck\current\iconpack.ico\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckIconPack\shell]

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckIconPack\shell\open] @="Open"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckIconPack\shell\open\command] @="\"C:\ProgramData\scoop\apps\streamdeck\current\StreamDeck.exe\" \"%1\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckPlugin] @="Stream Deck Plugin"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckPlugin\DefaultIcon] @="\"C:\ProgramData\scoop\apps\streamdeck\current\plugins.ico\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckPlugin\shell]

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckPlugin\shell\open] @="Open"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckPlugin\shell\open\command] @="\"C:\ProgramData\scoop\apps\streamdeck\current\StreamDeck.exe\" \"%1\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfile] @="Stream Deck Profile"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfile\DefaultIcon] @="\"C:\ProgramData\scoop\apps\streamdeck\current\profiles.ico\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfile\shell]

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfile\shell\open] @="Open"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfile\shell\open\command] @="\"C:\ProgramData\scoop\apps\streamdeck\current\StreamDeck.exe\" \"%1\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfilesBackup] @="Stream Deck Profiles Backup"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfilesBackup\DefaultIcon] @="\"C:\ProgramData\scoop\apps\streamdeck\current\backups.ico\""

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfilesBackup\shell]

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfilesBackup\shell\open] @="Open"

[HKEY_CLASSES_ROOT\StreamDeck.streamDeckProfilesBackup\shell\open\command] @="\"C:\ProgramData\scoop\apps\streamdeck\current\StreamDeck.exe\" \"%1\"" `