mirror of
https://github.com/ihaveamac/ninfs.git
synced 2025-06-18 17:05:32 -04:00
15 lines
395 B
Bash
Executable File
15 lines
395 B
Bash
Executable File
#!/bin/sh
|
|
NV=$(python3 -c 'import ninfs.__init__ as i; print(i.__version__)')
|
|
DMGDIR=build/dmg/ninfs-$NV
|
|
rm -rf "$DMGDIR"
|
|
|
|
set -e -u
|
|
|
|
mkdir -p "$DMGDIR"
|
|
|
|
cp -Rpc dist/ninfs.app "$DMGDIR/ninfs.app"
|
|
ln -s /Applications "$DMGDIR/Applications"
|
|
cp resources/MacGettingStarted.pdf "$DMGDIR/Getting Started.pdf"
|
|
|
|
hdiutil create -format UDZO -srcfolder "$DMGDIR" -fs HFS+ "dist/ninfs-$NV-macos.dmg" -ov
|