mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: dmg related scripts updated
This commit is contained in:
parent
92456b7880
commit
6adb88ea72
3 changed files with 33 additions and 4 deletions
16
.github/scripts/create_release.sh
vendored
16
.github/scripts/create_release.sh
vendored
|
|
@ -48,9 +48,23 @@ build_doublecmd()
|
|||
pushd $BUILD_PACK_DIR
|
||||
mv doublecmd.app 'Double Commander.app'
|
||||
codesign --deep --force --verify --verbose --sign '-' 'Double Commander.app'
|
||||
hdiutil create -anyowners -volname "Double Commander" -imagekey zlib-level=9 -format UDZO -fs HFS+ -srcfolder "$BUILD_PACK_DIR" $PACK_DIR/doublecmd-$DC_VER.$lcl.$CPU_TARGET.dmg
|
||||
popd
|
||||
|
||||
install/darwin/create-dmg/create-dmg \
|
||||
--volname "Double Commander" \
|
||||
--volicon "$BUILD_PACK_DIR/.VolumeIcon.icns" \
|
||||
--background "$BUILD_PACK_DIR/.background/bg.jpg" \
|
||||
--window-pos 200 200 \
|
||||
--window-size 680 366 \
|
||||
--text-size 16 \
|
||||
--icon-size 128 \
|
||||
--icon "Double Commander.app" 110 120 \
|
||||
--app-drop-link 360 120 \
|
||||
--icon "install.txt" 566 123 \
|
||||
--icon ".background" 100 500 \
|
||||
"$PACK_DIR/doublecmd-$DC_VER.$lcl.$CPU_TARGET.dmg" \
|
||||
"$BUILD_PACK_DIR/"
|
||||
|
||||
# Clean DC build dir
|
||||
./clean.sh
|
||||
rm -f *.dylib
|
||||
|
|
|
|||
|
|
@ -61,13 +61,28 @@ plutil -convert xml1 $(pwd)/doublecmd.app/Contents/Info.plist
|
|||
# Create *.dmg package
|
||||
mkdir -p $BUILD_PACK_DIR
|
||||
install/darwin/install.sh $BUILD_PACK_DIR
|
||||
cd $BUILD_PACK_DIR
|
||||
pushd $BUILD_PACK_DIR
|
||||
if [ "$lcl" = "qt" ]; then
|
||||
macdeployqt doublecmd.app
|
||||
fi
|
||||
mv doublecmd.app 'Double Commander.app'
|
||||
codesign --deep --force --verify --verbose --sign '-' 'Double Commander.app'
|
||||
hdiutil create -anyowners -volname "Double Commander" -imagekey zlib-level=9 -format UDZO -srcfolder "$BUILD_PACK_DIR" $PACK_DIR/doublecmd-$DC_VER-$DC_REVISION.$lcl.$CPU_TARGET.dmg
|
||||
popd
|
||||
|
||||
install/darwin/create-dmg/create-dmg \
|
||||
--volname "Double Commander" \
|
||||
--volicon "$BUILD_PACK_DIR/.VolumeIcon.icns" \
|
||||
--background "$BUILD_PACK_DIR/.background/bg.jpg" \
|
||||
--window-pos 200 200 \
|
||||
--window-size 680 366 \
|
||||
--text-size 16 \
|
||||
--icon-size 128 \
|
||||
--icon "Double Commander.app" 110 120 \
|
||||
--app-drop-link 360 120 \
|
||||
--icon "install.txt" 566 123 \
|
||||
--icon ".background" 100 500 \
|
||||
"$PACK_DIR/doublecmd-$DC_VER-$DC_REVISION.$lcl.$CPU_TARGET.dmg" \
|
||||
"$BUILD_PACK_DIR/"
|
||||
|
||||
# Clean DC build dir
|
||||
rm -rf $BUILD_DC_TMP_DIR
|
||||
|
|
|
|||
|
|
@ -82,5 +82,5 @@ cp -r highlighters $DC_INSTALL_DIR/
|
|||
cp -a *.dylib $DC_INSTALL_DIR/
|
||||
|
||||
# Install instruction
|
||||
cp -r -P install/darwin/dmg/. $1
|
||||
cp -r install/darwin/dmg/. $1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue