mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
macos: add architecture name to update bundle
This commit is contained in:
committed by
Frans de Jonge
parent
ab2f545075
commit
e757f2bf18
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user