|
|
|
@ -16,9 +16,9 @@ function get_os () (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
APP=deno
|
|
|
|
APP=deno
|
|
|
|
VERSION=${VERSION:-2.7.1}
|
|
|
|
VERSION=${VERSION:-2.8.2}
|
|
|
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
|
|
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
|
|
|
URL=https://github.com/denoland/deno/releases/download/v${VERSION}/deno-$(uname -m)-$(get_os).zip
|
|
|
|
URL=https://github.com/denoland/deno/releases/download/v${VERSION}/deno-$(get_os).zip
|
|
|
|
|
|
|
|
|
|
|
|
extract_zip "${URL}" "${DEST}/${VERSION}"
|
|
|
|
extract_zip "${URL}" "${DEST}/${VERSION}"
|
|
|
|
set_current_link "${DEST}" "${VERSION}"
|
|
|
|
set_current_link "${DEST}" "${VERSION}"
|
|
|
|
|