Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Roman Haefeli
netpd-app-builder
Commits
aad9d0b7
Commit
aad9d0b7
authored
Jun 05, 2020
by
Roman Haefeli
Browse files
use genisoimage to create a mac dmg file
parent
5dbbdf86
Changes
1
Show whitespace changes
Inline
Side-by-side
build.sh
View file @
aad9d0b7
...
...
@@ -79,14 +79,14 @@ function fail {
# apply patch to load netpd at start
patch
-s
${
work_dir
}
/
${
app_bundle_name
}
/Contents/Resources/tcl/pd-gui.tcl < files/pd-gui.tcl.patch
||
fail
# copy icons file
cp
files/netpd.icns
${
work_dir
}
/
${
app_bundle_name
}
/Contents/Resources/
||
fail
# construct a Info.plist
sed
-f
<
(
echo
"
${
info_plist_replacements
}
"
)
files/Info.plist
>
${
work_dir
}
/
${
app_bundle_name
}
/Contents/Info.plist
||
fail
# create archive
(
cd
"
${
work_dir
}
"
tar
cf
"../
${
app_name
}
-
${
app_version
}
.tar.gz"
"
${
app_bundle_name
}
"
||
fail
)
||
fail
# create disk image
genisoimage
-quiet
-V
"
${
app_name
}
-
${
app_version
}
"
-D
-R
-apple
-no-pad
-o
"
${
app_name
}
-
${
app_version
}
.dmg"
"
${
work_dir
}
"
||
fail
# clean up
rm
-r
"
${
work_dir
}
"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment