Skip to content

Commit

Permalink
feat: don't restrict arch when installing linux client
Browse files Browse the repository at this point in the history
This change updates the install commands to match those
on https://pkg.cloudflareclient.com/ in order to support
arm64 linux clients.
  • Loading branch information
silven authored and F21 committed Feb 24, 2025
1 parent 48dfba3 commit 6c0055e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup-cloudflare-warp.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function installLinuxClient(version) {
`/bin/bash -c "cat ${gpgKeyPath} | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg"`,
);
await exec.exec(
'/bin/bash -c "echo \\"deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main\\" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list"',
'/bin/bash -c "echo \\"deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main\\" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list"',
);
await exec.exec("sudo apt update");

Expand Down

0 comments on commit 6c0055e

Please # to comment.