|
|
@ -8,6 +8,8 @@ PROJECT_ENTRY="acme.sh" |
|
|
|
|
|
|
|
PROJECT="https://github.com/acmesh-official/$PROJECT_NAME" |
|
|
|
|
|
|
|
HASH_URL="https://api.github.com/repos/acmesh-official/$PROJECT_NAME/git/refs/" |
|
|
|
|
|
|
|
DEFAULT_INSTALL_HOME="$HOME/.$PROJECT_NAME" |
|
|
|
|
|
|
|
_WINDOWS_SCHEDULER_NAME="$PROJECT_NAME.cron" |
|
|
@ -6379,7 +6381,7 @@ _installOnline() { |
|
|
|
_getRepoHash() { |
|
|
|
_hash_path=$1 |
|
|
|
shift |
|
|
|
_hash_url="https://api.github.com/repos/acmesh-official/$PROJECT_NAME/git/refs/$_hash_path" |
|
|
|
_hash_url="$HASH_URL$_hash_path" |
|
|
|
_get $_hash_url | tr -d "\r\n" | tr '{},' '\n' | grep '"sha":' | cut -d '"' -f 4 |
|
|
|
} |
|
|
|
|
|
|
|