Rename top-level scripts and Linux packaging to Hash Wallet

- configure_cake_wallet.sh -> configure_hash_wallet.sh
- cakewallet.bat -> hashwallet.bat (and Hash Wallet.zip output, Build\Hash Wallet)
- com.cakewallet.CakeWallet.yml -> com.suchsoftware.HashWallet.yml (Flatpak app-id changed)
- linux/com.cakewallet.CakeWallet.desktop -> linux/com.suchsoftware.HashWallet.desktop
- scripts/{macos,windows,linux}/cakewallet.sh -> hashwallet.sh
- scripts/linux/build_cake_release.sh -> build_hash_release.sh (output is hash_wallet.flatpak)
- README + docs/builds/{WINDOWS,LINUX}.md cross-refs updated

The Flutter binary name 'cake_wallet' is intentionally retained — renaming
the Dart project name would force ~all 'package:cake_wallet/...' imports
to be rewritten and break upstream cherry-picks.
This commit is contained in:
jwinterm
2026-05-14 08:35:01 -04:00
parent 7740cb0559
commit 8e24be5d15
11 changed files with 24 additions and 24 deletions
@@ -1,7 +1,7 @@
#!/bin/bash
# build_cake_release.sh - Script to build Cake Wallet for Linux
# Usage: ./build_cake_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]
# build_hash_release.sh - Script to build Hash Wallet for Linux
# Usage: ./build_hash_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]
set -e
@@ -34,7 +34,7 @@ do
;;
*)
echo "Unknown argument: $arg"
echo "Usage: ./build_cake_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]"
echo "Usage: ./build_hash_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]"
exit 1
;;
esac
@@ -45,13 +45,13 @@ cd ../..
# Validate arguments
if [[ "$BUILD_AMD64" == "false" && "$BUILD_ARM64" == "false" ]]; then
echo "Error: At least one architecture (--amd64 or --arm64) must be specified."
echo "Usage: ./build_cake_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]"
echo "Usage: ./build_hash_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]"
exit 1
fi
if [[ "$APP_TYPE" != "cakewallet" && "$APP_TYPE" != "monero.com" ]]; then
echo "Error: App type must be either 'cakewallet' or 'monero.com'"
echo "Usage: ./build_cake_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]"
echo "Usage: ./build_hash_release.sh --amd64 [--arm64] [--app=cakewallet|monero.com]"
exit 1
fi
@@ -78,10 +78,10 @@ flutter build linux
rm -rf build/linux/current
cp -r build/linux/$flutter_arch build/linux/current
rm -rf .flatpak-builder
flatpak-builder --force-clean flatpak-build com.cakewallet.CakeWallet.yml
flatpak-builder --force-clean flatpak-build com.suchsoftware.HashWallet.yml
flatpak build-export export flatpak-build
flatpak build-bundle export build/linux/current/cake_wallet.flatpak com.cakewallet.CakeWallet
cp build/linux/current/cake_wallet.flatpak build/linux/$flutter_arch/
flatpak build-bundle export build/linux/current/hash_wallet.flatpak com.suchsoftware.HashWallet
cp build/linux/current/hash_wallet.flatpak build/linux/$flutter_arch/
EOF
}
@@ -4,4 +4,4 @@
# Assume that we are in scripts/windows dir
CW_ROOT=`pwd`/../..
cd $CW_ROOT
cmd.exe /c cakewallet.bat $1
cmd.exe /c hashwallet.bat $1