Last active
August 29, 2015 14:01
-
-
Save AlexKMDev/95b55df12fc0fee0535a to your computer and use it in GitHub Desktop.
caesaria install script for OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!