cake-tech / cake_wallet

The open source repository for Cake Wallet, a noncustodial multi-currency wallet, and Monero.com, a noncustodial Monero-only wallet. Need help? Check out https://guides.cakewallet.com
https://cakewallet.com
MIT License
641 stars 174 forks source link

Linux download archive is a 'gzip' file but has an '.xz' suffix #1675

Open ronohara opened 2 weeks ago

ronohara commented 2 weeks ago

Describe the bug Linux download archive is a 'gzip' file but has an '.xz' suffix

To Reproduce

  1. wget -c https://github.com/cake-tech/cake_wallet/releases/download/v4.19.5/Cake_Wallet_v4.19.5_Linux.tar.xz
  2. xz -d Cake_Wallet_v4.19.5_Linux.tar.xz xz: Cake_Wallet_v4.19.5_Linux.tar.xz: File format not recognised
  3. file Cake_Wallet_v4.19.5_Linux.tar.xz Cake_Wallet_v4.19.5_Linux.tar.xz: gzip compressed data, last modified: Wed Aug 28 22:05:27 2024, from Unix, original size modulo 2^32 11402240 Expected behavior Expected to decompress the file resulting a tar file. Cake_Wallet_v4.19.5_Linux.tar Screenshots If applicable, add screenshots to help explain your problem.

Platform:

Additional context

Work around.

  1. mv Cake_Wallet_v4.19.5_Linux.tar.xz Cake_Wallet_v4.19.5_Linux.tar.gz
  2. gunzip Cake_Wallet_v4.19.5_Linux.tar.gz
boldsuck commented 1 day ago

Work around.

1. mv Cake_Wallet_v4.19.5_Linux.tar.xz Cake_Wallet_v4.19.5_Linux.tar.gz

Nope, simply untar the download:

tar -xvf Cake_Wallet_v4.19.5_Linux.tar.xz --strip-components=1 -C /home/user/Cake-Wallet