Add command in build-package script to create dmg

This commit is contained in:
Francesco Abbate 2021-04-19 01:29:51 -07:00
parent 94c8f34a81
commit 52ee1ed2b9
1 changed files with 3 additions and 0 deletions

View File

@ -110,7 +110,10 @@ lite_build_package_macosx () {
mv "$package_name" ..
popd
rm -fr ".package-build"
local dmg_name="lite-xl-$os-$arch.dmg"
rm -f "$dmg_name" && hdiutil create -volname lite-xl -srcfolder lite-xl.app -ov -format UDBZ "$dmg_name"
echo "created package $package_name"
echo "created disk image $dmg_name"
}
lite_build_package_linux () {