Browse Source

Cluster-geo launcher.

Adam Ierymenko 9 years ago
parent
commit
a46514b397

+ 2 - 2
.gitignore

@@ -52,8 +52,8 @@ Thumbs.db
 node_modules
 
 # cluster-geo stuff
-cluster-geo/config.js
-cluster-geo/cache.*
+cluster-geo/cluster-geo/config.js
+cluster-geo/cluster-geo/cache.*
 
 # MacGap wrapper build files
 /ext/mac-ui-macgap1-wrapper/src/MacGap.xcodeproj/project.xcworkspace/xcuserdata/*

+ 13 - 0
cluster-geo/cluster-geo.exe

@@ -0,0 +1,13 @@
+#!/bin/bash
+
+export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
+
+cd `dirname $0`
+if [ ! -d cluster-geo -o ! -f cluster-geo/index.js ]; then
+	echo 'Cannot find ./cluster-geo containing NodeJS script files.'
+	exit 1
+fi
+
+cd cluster-geo
+
+exec node index.js

+ 0 - 0
cluster-geo/config.js.sample → cluster-geo/cluster-geo/config.js.sample


+ 0 - 0
cluster-geo/index.js → cluster-geo/cluster-geo/index.js


+ 0 - 0
cluster-geo/package.json → cluster-geo/cluster-geo/package.json