mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
fix(brand): stop shipping Cake artwork, and 1.0.3+13
Audit of every surface that could show somebody else's logo. Most of it was already ours: the transaction success screen draws hash_bag.png and the hashbag_sym_* glyphs, cake_logo_light/dark.svg and the Android icon set were redrawn from the Hash Bags mark in May and only kept their old filenames, no user-visible string contains "Cake", and every cupcake reference is a HardwareWalletType icon sitting next to Ledger and Trezor, which is interop rather than branding. Two places were not ours. The Flatpak manifest installed cakewallet_icon_180.png as the Linux desktop icon, and that file is upstream Cake artwork from 2025 that the rebrand never touched. So the Linux build has been shipping a Cake Wallet icon. It now uses the Hash Bags mark. The macOS icon script had the same fault, latent only because no workflow builds macOS; it gets a proper Hash Bags set at all seven sizes rather than a landmine for whoever turns that build on. Deleted the Cake artwork nothing needs: cake_logo.png, cakepay.png, the three cakewallet_icon_* files and the macOS set. assets/images/ is bundled whole, so unreferenced files were shipping inside the binary regardless of whether any code could draw them. Also fixes a bug the audit turned up rather than a branding one. The theme picker chose its preview icon by matching theme.title, which is built from the accent colour's display name, so renaming an accent silently changed the icon. It had: the list still named Cake Primary, Tron Red and Frosting Purple, none of which ship, while our own Such Pink and Such Blue were absent and fell through to the plain dark icon. It asks the theme what it is now, not what it is called. Version to 1.0.3+13. pubspec_description.yaml is the single source for all five platforms; the checked-in pubspec.yaml is a build artifact. Still there, reported not removed: cake_pay_icon.png, reachable only through the Cake Pay order provider, which is the only provider, has an empty API key and cannot produce an order in this app. Removing it means removing the orders feature, which is not a branding change.
This commit is contained in:
@@ -18,13 +18,13 @@ case $APP_MACOS_TYPE in
|
||||
ICON_512_PATH=`pwd`/../../assets/images/macos_icons/monero_macos_icons/monero_macos_512.png
|
||||
ICON_1024_PATH=`pwd`/../../assets/images/macos_icons/monero_macos_icons/monero_macos_1024.png;;
|
||||
"cakewallet")
|
||||
ICON_16_PATH=`pwd`/../../assets/images/macos_icons/cakewallet_macos_icons/cakewallet_macos_16.png
|
||||
ICON_32_PATH=`pwd`/../../assets/images/macos_icons/cakewallet_macos_icons/cakewallet_macos_32.png
|
||||
ICON_64_PATH=`pwd`/../../assets/images/macos_icons/cakewallet_macos_icons/cakewallet_macos_64.png
|
||||
ICON_128_PATH=`pwd`/../../assets/images/macos_icons/cakewallet_macos_icons/cakewallet_macos_128.png
|
||||
ICON_256_PATH=`pwd`/../../assets/images/macos_icons/cakewallet_macos_icons/cakewallet_macos_256.png
|
||||
ICON_512_PATH=`pwd`/../../assets/images/macos_icons/cakewallet_macos_icons/cakewallet_macos_512.png
|
||||
ICON_1024_PATH=`pwd`/../../assets/images/macos_icons/cakewallet_macos_icons/cakewallet_macos_1024.png;;
|
||||
ICON_16_PATH=`pwd`/../../assets/images/macos_icons/hashbags_macos_icons/hashbags_macos_16.png
|
||||
ICON_32_PATH=`pwd`/../../assets/images/macos_icons/hashbags_macos_icons/hashbags_macos_32.png
|
||||
ICON_64_PATH=`pwd`/../../assets/images/macos_icons/hashbags_macos_icons/hashbags_macos_64.png
|
||||
ICON_128_PATH=`pwd`/../../assets/images/macos_icons/hashbags_macos_icons/hashbags_macos_128.png
|
||||
ICON_256_PATH=`pwd`/../../assets/images/macos_icons/hashbags_macos_icons/hashbags_macos_256.png
|
||||
ICON_512_PATH=`pwd`/../../assets/images/macos_icons/hashbags_macos_icons/hashbags_macos_512.png
|
||||
ICON_1024_PATH=`pwd`/../../assets/images/macos_icons/hashbags_macos_icons/hashbags_macos_1024.png;;
|
||||
esac
|
||||
|
||||
rm $DEST_DIR_PATH/app_icon_16.png
|
||||
|
||||
Reference in New Issue
Block a user