mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-21 06:31:37 +00:00
Update decrypt.sh
This commit is contained in:
5
.github/actions/decrypt.sh
vendored
5
.github/actions/decrypt.sh
vendored
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
credspath="${HOME}/.gam"
|
||||
gpgfile="$1"
|
||||
echo "source file is ${gpgfile}"
|
||||
credsfile="$2"
|
||||
@@ -13,6 +13,7 @@ fi
|
||||
gpg --quiet --batch --yes --decrypt --passphrase="${PASSCODE}" \
|
||||
--output "${credsfile}" "${gpgfile}"
|
||||
|
||||
tar xvvf "${credsfile}" --directory "${gampath}"
|
||||
mkdir -p "${credspath}"
|
||||
tar xvvf "${credsfile}" --directory "${credspath}"
|
||||
rm -rvf "${gpgfile}"
|
||||
rm -rvf "${credsfile}"
|
||||
|
||||
Reference in New Issue
Block a user