Skip to content

Commit

Permalink
Update make-bundle.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan authored Sep 19, 2024
1 parent 3e33ae1 commit bbbff9a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions make-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ mkdir -p Amiberry.app/Contents/Frameworks
mkdir -p Amiberry.app/Contents/Resources
# Copy executable into App bundle
cp amiberry Amiberry.app/Contents/MacOS/Amiberry
# Copy capsimg.so into App bundle
cp plugins/libcapsimg.so Amiberry.app/Contents/Resources/libcapsimg.so
# Copy floppybridge lib into App bundle
cp plugins/libfloppybridge.so Amiberry.app/Contents/Resources/libfloppybridge.so
# Copy plugin libs into App bundle
cp plugins/*.so Amiberry.app/Contents/Resources/
# Copy init script into the bundle
cp macos_init_amiberry.zsh Amiberry.app/Contents/Resources
chmod +x Amiberry.app/Contents/Resources/macos_init_amiberry.zsh
Expand All @@ -46,9 +44,3 @@ cp -R whdboot Amiberry.app/Contents/Resources/Whdboot

# Overwrite default conf with OSX specific one
cat conf/amiberry-osx.conf | sed -e "s#USERDIR#$USERDIR#g" >Amiberry.app/Contents/Resources/Configurations/amiberry.conf
# Use dylibbundler to install into app if exists
dylibbundler -od -b -x Amiberry.app/Contents/MacOS/Amiberry -d Amiberry.app/Contents/libs/ -s external/libguisan/dylib/
if [ $? -gt 0 ]; then
echo "Can't find dylibbundler, use brew to install it, or manually copy external/libguisan/dylib/libguisan.dylib into /usr/local/lib (you'll need sudo)"
fi

0 comments on commit bbbff9a

Please sign in to comment.