Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/yabause/src/carbon/build_dmg.sh
2 views
1
# Copyright 2006 Guillaume Duhamel
2
# Copyright 2006 Lawrence Sebald
3
# Copyright 2007 Anders Montonen
4
#
5
# This file is part of Yabause.
6
#
7
# Yabause is free software; you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 2 of the License, or
10
# (at your option) any later version.
11
#
12
# Yabause is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Yabause; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
21
22
hdiutil create -megabytes 20 tmp.dmg -layout NONE -fs HFS+ -volname Yabause -ov
23
tmp=`hdid tmp.dmg`
24
disk=`echo $tmp | cut -f 1 -d\ `
25
cp -R Yabause.app /Volumes/Yabause/
26
cp ../../ChangeLog /Volumes/Yabause/
27
cp ../../README /Volumes/Yabause/
28
cp ../../README.MAC /Volumes/Yabause/
29
cp ../../AUTHORS /Volumes/Yabause/
30
cp ../../COPYING /Volumes/Yabause/
31
hdiutil eject $disk
32
hdiutil convert -format UDZO tmp.dmg -o Yabause.dmg
33
rm tmp.dmg
34
35