use new asset host

This commit is contained in:
Jeff Dickey 2023-12-11 16:37:16 -06:00
parent f94e70b04b
commit f0a88fe39d
No known key found for this signature in database
GPG key ID: 584DADE86724B407
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ async function restoreRTXCache(): Promise<void> {
async function setupRTX(): Promise<void> {
const rtxBinDir = path.join(rtxDir(), 'bin')
const url = `https://rtx.pub/rtx-latest-${getOS()}-${os.arch()}`
const url = `https://rtx.jdx.dev/rtx-latest-${getOS()}-${os.arch()}`
await fs.promises.mkdir(rtxBinDir, { recursive: true })
await exec.exec('curl', [url, '--output', path.join(rtxBinDir, 'rtx')])
await exec.exec('chmod', ['+x', path.join(rtxBinDir, 'rtx')])