Skip to content

Commit f229f8e

Browse files
committed
pack.sh adding osx.11.0-arm64 fixes: #236
1 parent b836b56 commit f229f8e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

pack.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,33 @@ function pack-linux-arm64()
6868
mv {*.deb,*.rpm} publish/
6969
}
7070

71+
function pack-osx.11.0-arm64()
72+
{
73+
rm -rf ./*.app
74+
rm -f ./*.zip
75+
76+
pushd $PKG_ROOT
77+
cd ..
78+
mv publish fvim_pkg
79+
mkdir -p publish/Contents/
80+
mv fvim_pkg publish/Contents/MacOS
81+
mkdir -p publish/Contents/Resources/
82+
popd
83+
cp lib/fvim-osx-launcher $PKG_ROOT/Contents/MacOS/fvim-osx-launcher
84+
cp images/icon.icns $PKG_ROOT/Contents/Resources/fvim.icns
85+
cp lib/Info.plist $PKG_ROOT/Contents/Info.plist
86+
cp icons-icns/* $PKG_ROOT/Contents/Resources/
87+
rm -rf $PKG_ROOT/Contents/MacOS/icons
88+
89+
chmod +x $PKG_ROOT/Contents/MacOS/FVim
90+
chmod +x $PKG_ROOT/Contents/MacOS/fvim-osx-launcher
91+
92+
mv $PKG_ROOT FVim.app
93+
zip -r FVim.$VERSION.zip FVim.app
94+
rm -rf FVim.app
95+
mv FVim.$VERSION.zip publish/
96+
}
97+
7198
function pack-osx-x64()
7299
{
73100
rm -rf ./*.app

0 commit comments

Comments
 (0)