mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-29 11:25:45 +00:00
Yuzu EA fix
This commit is contained in:
parent
a0c76e0467
commit
dd594b17e9
@ -232,6 +232,10 @@ YuzuEA_install() {
|
|||||||
local currentVer=$(echo "$yuzuEaMetadata" | jq -r '.files[] | select(.name|test(".*.AppImage")).name')
|
local currentVer=$(echo "$yuzuEaMetadata" | jq -r '.files[] | select(.name|test(".*.AppImage")).name')
|
||||||
local tokenValue="$1"
|
local tokenValue="$1"
|
||||||
local showProgress="$2"
|
local showProgress="$2"
|
||||||
|
local user
|
||||||
|
local auth
|
||||||
|
|
||||||
|
read -r user auth <<<"$(echo "$tokenValue"==== | fold -w 4 | sed '$ d' | tr -d '\n' | base64 --decode| awk -F":" '{print $1" "$2}')" || echo "invalid"
|
||||||
|
|
||||||
#echo "get bearer token"
|
#echo "get bearer token"
|
||||||
BEARERTOKEN=$(curl -X POST ${jwtHost} -H "X-Username: ${user}" -H "X-Token: ${auth}" -H "User-Agent: EmuDeck")
|
BEARERTOKEN=$(curl -X POST ${jwtHost} -H "X-Username: ${user}" -H "X-Token: ${auth}" -H "User-Agent: EmuDeck")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user