-
-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1545 from ychin/fix-dmg-duplicate-images
Fix dmg installer to not have duplicate images and icons
- Loading branch information
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3717,6 +3717,7 @@ RUNTIME_FOLDER_LIST = MacVim/auto/runtime_folder_list.xcfilelist | |
|
||
RELEASEDIR = MacVim/build/Release | ||
DMGDIR = MacVim/build/dmg | ||
DMGSCRATCHDIR = MacVim/build/dmg_scratch | ||
DMGFILE = MacVim.dmg | ||
ENTITLEMENTS = MacVim/MacVim.entitlements | ||
|
||
|
@@ -3753,18 +3754,20 @@ macvim-dmg-legacy: macvim-dmg | |
# Finder this will still clip the bottom but there's nothing we can do about | ||
# that. | ||
macvim-dmg: | ||
rm -rf $(DMGSCRATCHDIR) | ||
mkdir -p $(DMGSCRATCHDIR) | ||
tiffutil -cathidpicheck MacVim/dmg/[email protected] MacVim/dmg/[email protected] -out $(DMGSCRATCHDIR)/background.tiff | ||
MacVim/scripts/create_icns MacVim/dmg/volume_icons $(DMGSCRATCHDIR) volume | ||
rm -rf $(DMGDIR) | ||
mkdir -p $(DMGDIR) | ||
cp -a $(RELEASEDIR)/MacVim.app $(DMGDIR)/ | ||
tiffutil -cathidpicheck MacVim/dmg/[email protected] MacVim/dmg/[email protected] -out $(DMGDIR)/background.tiff | ||
MacVim/scripts/create_icns MacVim/dmg/volume_icons $(DMGDIR) volume | ||
rm -rf $(RELEASEDIR)/$(DMGFILE) | ||
MacVim/create-dmg/create-dmg \ | ||
--filesystem "$(DMGFILESYSTEM)" \ | ||
--format "$(DMGFORMAT)" \ | ||
--volname "MacVim" \ | ||
--volicon $(DMGDIR)/volume.icns \ | ||
--background $(DMGDIR)/background.tiff \ | ||
--volicon $(DMGSCRATCHDIR)/volume.icns \ | ||
--background $(DMGSCRATCHDIR)/background.tiff \ | ||
--window-size 650 500 \ | ||
--icon-size 128 \ | ||
--icon MacVim.app 210 290 \ | ||
|