Skip to content

Commit

Permalink
feat(coraxjw shell): update oss links
Browse files Browse the repository at this point in the history
  • Loading branch information
notify committed Sep 30, 2024
1 parent 7d994a4 commit b8e0cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions coraxjw.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $APP_NAME = "CoraxJava"
$APP_BASE_NAME = $MyInvocation.MyCommand.Name
$DEFAULT_JVM_OPTS = ""

$OSS_URL_CORAX_JAVA_CLI_COMMUNITY = "https://release.feysh.com/corax/corax-java-cli-community-$CORAX_VERSION.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1726372777&Signature=GvVNEMg2qKvJzefpizr2JxvIY0A%3D"
$OSS_URL_CORAX_JAVA_CLI_COMMUNITY = "https://release.feysh.com/corax/corax-java-cli-community-$CORAX_VERSION.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1758781045&Signature=E7FO2SYWcI5cOMdR%2FBCFSHsTB50%3D"
$OSS_URL_JDK_WIN_X64 = "http://release.feysh.com/corax-java-group/jdk-17.0.3.1_windows-x64_bin.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=2023865879&Signature=mnWSUQlW8Mwme%2FCIuvaWD27bNjE%3D"

$uninstall=0
Expand All @@ -47,7 +47,7 @@ $BUILD_DIR = $env:TEMP + "\corax_temp"

function _is_china {
$ipInfo = (Invoke-WebRequest -Uri "http://myip.ipip.net").Content
$r=($ipInfo.Contains("`u{4E2D}`u{56FD}"))
$r=($ipInfo.Contains("`u{4E2D}`u{56FD}") -or $ipInfo.Contains("中国"))
return $r
}

Expand Down
2 changes: 1 addition & 1 deletion coraxjw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ JDK_TARGET_DIR="${HOME}/.local/share"
CORAX_TARGET_DIR="${HOME}/.local/corax"
JVM_VERSION=jdk-17.0.3.1

OSS_URL_CORAX_JAVA_CLI_COMMUNITY="https://release.feysh.com/corax/corax-java-cli-community-$CORAX_VERSION.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1726372777&Signature=GvVNEMg2qKvJzefpizr2JxvIY0A%3D"
OSS_URL_CORAX_JAVA_CLI_COMMUNITY="https://release.feysh.com/corax/corax-java-cli-community-$CORAX_VERSION.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1758781045&Signature=E7FO2SYWcI5cOMdR%2FBCFSHsTB50%3D"
OSS_URL_JDK_DARWIN_X64="http://release.feysh.com/corax-java-group/jdk-17.0.3.1_macos-x64_bin.tar.gz?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=2023865870&Signature=pSaX7XqiEO%2BuZ5NsF0AsnkvKTB0%3D"
OSS_URL_JDK_DARWIN_AARCH64="http://release.feysh.com/corax-java-group/jdk-17.0.3.1_macos-aarch64_bin.tar.gz?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=2023865859&Signature=M41W3NYVzNfVR8wLpmOoiGTYxWo%3D"
OSS_URL_JDK_WIN_X64="http://release.feysh.com/corax-java-group/jdk-17.0.3.1_windows-x64_bin.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=2023865879&Signature=mnWSUQlW8Mwme%2FCIuvaWD27bNjE%3D"
Expand Down

0 comments on commit b8e0cb9

Please sign in to comment.