From 16721b0dfd23206c26816e20cca3ad5aa3d4f1ed Mon Sep 17 00:00:00 2001 From: Peter Zhigalov Date: Wed, 15 Jun 2022 03:58:37 +0700 Subject: [PATCH] Optimize build options --- build_sylpheed_macos.sh | 2 ++ modulesets/bootstrap.modules | 40 ++++++++++++++++++------------------ 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/build_sylpheed_macos.sh b/build_sylpheed_macos.sh index a965b21..2535493 100755 --- a/build_sylpheed_macos.sh +++ b/build_sylpheed_macos.sh @@ -148,12 +148,14 @@ find "${HOME}/Desktop/Sylpheed.app/Contents/Resources/lib" -type f \( -name '*.s do lipo "${item}" "$(echo "${item}" | sed "s|^${HOME}/Desktop/Sylpheed.app|${HOME}/Desktop/Sylpheed_arm64.app|")" -create -output "${item##*/}" mv "${item##*/}" "${item}" + chmod 755 "${item}" done find "${HOME}/Desktop/Sylpheed.app/Contents/MacOS" -type f -print0 | while IFS= read -r -d '' item do if [ "${item##*/}_" != "${BUNDLE_EXECUTABLE}_" ]; then lipo "${item}" "$(echo "${item}" | sed "s|^${HOME}/Desktop/Sylpheed.app|${HOME}/Desktop/Sylpheed_arm64.app|")" -create -output "${item##*/}" mv "${item##*/}" "${item}" + chmod 755 "${item}" fi done diff --git a/modulesets/bootstrap.modules b/modulesets/bootstrap.modules index 6910b43..f2a1edb 100644 --- a/modulesets/bootstrap.modules +++ b/modulesets/bootstrap.modules @@ -50,11 +50,11 @@ - + - + @@ -96,14 +96,14 @@ - + - + @@ -111,30 +111,30 @@ - + - + - + - + - + - + @@ -154,7 +154,7 @@ - + @@ -176,11 +176,11 @@ - + - + @@ -188,7 +188,7 @@ - + @@ -214,18 +214,18 @@ - + - + - + @@ -238,7 +238,7 @@ - + @@ -246,7 +246,7 @@ - + @@ -356,7 +356,7 @@ - +