Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a wrapper shell script

* use a config file and stats file for each user
  • Loading branch information...
commit c28150808db6a74c6d46067bd527ea88d22d1aa5 1 parent e89636a
@solsticedhiver authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 brainworkshop.sh
View
11 brainworkshop.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+BRW_DIR=$HOME/.brainworkshop
+if [ ! -d $BRW_DIR ] ;then
+ mkdir $BRW_DIR
+fi
+
+BRW_CONFIGFILE=$BRW_DIR/config
+BRW_STATFILE=$BRW_DIR/stats
+
+exec python2 /usr/share/brainworkshop/brainworkshop.pyw --configfile $BRW_CONFIGFILE --statsfile $BRW_STATFILE
Please sign in to comment.
Something went wrong with that request. Please try again.