diff options
author | Brad Davis <[email protected]> | 2013-07-03 09:16:03 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2013-07-03 09:16:03 -0700 |
commit | d46694c91c2bec4eb1e282c0c0101e6dab26e082 (patch) | |
tree | eb5fba71edf1aedc0d6af9406881004289433b20 /OculusWorldDemo.sh | |
parent | 7fa8be4bc565adc9911c95c814480cc48bf2d13c (diff) |
SDK 0.2.3
Diffstat (limited to 'OculusWorldDemo.sh')
-rwxr-xr-x | OculusWorldDemo.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/OculusWorldDemo.sh b/OculusWorldDemo.sh new file mode 100755 index 0000000..e668c93 --- /dev/null +++ b/OculusWorldDemo.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +############################################################################# +# +# Filename : OculusWorldDemo.sh +# Content : Linux file for starting the OculusWorldDemo app from the SDK +# package root. It will determine the architechture of the +# system it is running on, and start the approprite executable +# Created : 2013 +# Authors : Simon Hallam +# Copyright : Copyright 2013 OculusVR, Inc. All Rights Reserved +# Instruction : Ensure that the OculusWorldDemo.sh has execute permissions. +# Navigate to a command shell, enter: +# +# ./OculusWorldDemo.sh +# +############################################################################# + +MACHINE_TYPE=`uname -m` +if [ ${MACHINE_TYPE} == 'x86_64' ]; then + ./Samples/OculusWorldDemo/Release/OculusWorldDemo_x86_64_Release +else + ./Samples/OculusWorldDemo/Release/OculusWorldDemo_i386_Release +fi + |