From e757f2bf189c06730d71bbb868eb4149456a0d8b Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sat, 1 Jun 2024 07:07:17 +0200 Subject: [PATCH] macos: add architecture name to update bundle --- platform/mac/do_mac_bundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/mac/do_mac_bundle.sh b/platform/mac/do_mac_bundle.sh index c6bf70726..e825487b8 100755 --- a/platform/mac/do_mac_bundle.sh +++ b/platform/mac/do_mac_bundle.sh @@ -160,6 +160,6 @@ mv "${APP_PATH}" "${APP_BUNDLE}.app" # Package as 7z reduces size from 80MB to 30MB. if command_exists "7z"; then - 7z a -l -m0=lzma2 -mx=9 "${APP_BUNDLE}-${VERSION}.7z" "${APP_BUNDLE}.app" + 7z a -l -m0=lzma2 -mx=9 "${APP_BUNDLE}-$(uname -m)-${VERSION}.7z" "${APP_BUNDLE}.app" rm -rfv "${APP_BUNDLE}.app" fi