Xcode/stationary.csh
author Ryan C. Gordon <icculus@icculus.org>
Thu, 27 Sep 2012 00:53:37 -0400
changeset 6466 ebe165c00fab
parent 2207 d63e9f5944ae
permissions -rwxr-xr-x
On Compiz (etc?), _NET_WM_ACTION_FULLSCREEN needs the window to be resizable. Thanks to Edward Rudd for the patch!

#!/bin/csh

###
## This script installs the stationary
###

sudo -v -p "Please enter the administrator password: "

# project templates
sudo /Developer/Tools/CpMac -r "Project Stationary/SDL Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/"

sudo /Developer/Tools/CpMac -r "Project Stationary/SDL Cocoa Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/"

sudo /Developer/Tools/CpMac -r "Project Stationary/SDL Custom Cocoa Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/"

sudo /Developer/Tools/CpMac -r "Project Stationary/SDL OpenGL Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/"


# target templates
sudo mkdir -p "/Developer/ProjectBuilder Extras/Target Templates/SDL"

sudo /Developer/Tools/CpMac -r "Project Stationary/Application.trgttmpl" "/Developer/ProjectBuilder Extras/Target Templates/SDL"