File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff 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+
7198function pack-osx-x64()
7299{
73100 rm -rf ./* .app
You can’t perform that action at this time.
0 commit comments