diff options
author | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-01 14:19:02 +0000 |
---|---|---|
committer | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-01 14:19:02 +0000 |
commit | a45d0c4c36df3b79606b2e9805affd596a848fd6 (patch) | |
tree | ed53e4af4caa7351d80972fc3c80fd03b2b0c86a /crawl-ref/source/mac | |
parent | 832739758755fa9574a6d64dca420d32543cac55 (diff) | |
download | crawl-ref-a45d0c4c36df3b79606b2e9805affd596a848fd6.tar.gz crawl-ref-a45d0c4c36df3b79606b2e9805affd596a848fd6.zip |
Changes to XCode project file to allow trivial building of
a "clickable" app bundle.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4021 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mac')
-rwxr-xr-x | crawl-ref/source/mac/crawl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/mac/crawl b/crawl-ref/source/mac/crawl new file mode 100755 index 0000000000..cbe52f0332 --- /dev/null +++ b/crawl-ref/source/mac/crawl @@ -0,0 +1,11 @@ +#!/usr/bin/perl + +# This is utter and complete hackery. But I'm tired +# of building the mac distribution by hand. + +$script= $0; +$script =~ /(.*)\/MacOS\/(\w+)/; +$scriptdir = $1; +$resdir = $scriptdir . "/Resources/"; +$executable = $resdir . "crawl"; +system "/usr/bin/open /Applications/Utilities/Terminal.app $executable"; |