Read full URI to clipboard as fail-safe.

This commit is contained in:
dabruh 2022-06-05 02:56:14 +02:00
parent 20764a342a
commit 20aea3157a
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@ TOKEN=${1:?} || exit 1
TOKEN="${TOKEN#*=}"
TOKEN="${TOKEN%&*}"
xclip -selection clipboard <<<"$TOKEN"
xclip -selection clipboard <<<"$1"
ssh bankid -- powershell.exe -NoLogo -ExecutionPolicy Bypass -Command "Set-Content -Path C:\.bidtoken -Value '$TOKEN'" &
notify-send BankID "Token has been sent." &