Skip to content

Instantly share code, notes, and snippets.

@Anakros Anakros/install_osx.sh
Last active Aug 29, 2015

Embed
What would you like to do?
caesaria install script for OS X
#!/bin/sh
LIBDIR=~/Library/Frameworks/
mkdir caesaria
pushd caesaria
curl -C - -OL http://downloads.sourceforge.net/project/opencaesar3/bin/caesaria-mac-b1362.zip
unzip caesaria-mac-b1362.zip
curl -O https://www.libsdl.org/release/SDL-1.2.15.dmg
curl -O http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.dmg
curl -O http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.dmg
hdiutil mount SDL_ttf-2.0.11.dmg
hdiutil mount SDL_mixer-1.2.12.dmg
hdiutil mount SDL-1.2.15.dmg
mkdir -p $LIBDIR
cp -r /Volumes/SDL/SDL.framework $LIBDIR
cp -r /Volumes/SDL_mixer/SDL_mixer.framework $LIBDIR
cp -r /Volumes/SDL_ttf/SDL_ttf.framework $LIBDIR
sed -i '' s/false/true/ resources/settings.model
mkdir saves
chmod +x caesaria.macos && ./caesaria.macos
@WooD1k

This comment has been minimized.

Copy link

WooD1k commented Oct 20, 2014

Hello!

Can't install, here is the output from console:
sed: resources/settings.model: No such file or directory
chmod: caesaria.macos: No such file or directory

Do you have any ideas?

Thanks in advance!

@Hegoogleboba

This comment has been minimized.

Copy link

Hegoogleboba commented Apr 21, 2015

Having the same issue, is there a solution out there?
Tried the Gist (i am a total noob though) and am having the same problem just this time its line 28
sed: resources/settings.model: No such file or directory

Please help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.