From f229f8ea97c166ebcfbe6c1e7725e2587dc3e459 Mon Sep 17 00:00:00 2001 From: luxus Date: Mon, 15 Aug 2022 15:42:29 +0200 Subject: [PATCH] pack.sh adding osx.11.0-arm64 fixes: #236 --- pack.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/pack.sh b/pack.sh index dbcd7ed..779e437 100755 --- a/pack.sh +++ b/pack.sh @@ -68,6 +68,33 @@ function pack-linux-arm64() mv {*.deb,*.rpm} publish/ } +function pack-osx.11.0-arm64() +{ + rm -rf ./*.app + rm -f ./*.zip + + pushd $PKG_ROOT + cd .. + mv publish fvim_pkg + mkdir -p publish/Contents/ + mv fvim_pkg publish/Contents/MacOS + mkdir -p publish/Contents/Resources/ + popd + cp lib/fvim-osx-launcher $PKG_ROOT/Contents/MacOS/fvim-osx-launcher + cp images/icon.icns $PKG_ROOT/Contents/Resources/fvim.icns + cp lib/Info.plist $PKG_ROOT/Contents/Info.plist + cp icons-icns/* $PKG_ROOT/Contents/Resources/ + rm -rf $PKG_ROOT/Contents/MacOS/icons + + chmod +x $PKG_ROOT/Contents/MacOS/FVim + chmod +x $PKG_ROOT/Contents/MacOS/fvim-osx-launcher + + mv $PKG_ROOT FVim.app + zip -r FVim.$VERSION.zip FVim.app + rm -rf FVim.app + mv FVim.$VERSION.zip publish/ +} + function pack-osx-x64() { rm -rf ./*.app