From a45d0c4c36df3b79606b2e9805affd596a848fd6 Mon Sep 17 00:00:00 2001 From: peterb12 Date: Tue, 1 Apr 2008 14:19:02 +0000 Subject: 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 --- crawl-ref/source/mac/crawl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 crawl-ref/source/mac/crawl (limited to 'crawl-ref/source/mac') 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"; -- cgit v1.2.3-54-g00ecf