Skip to content

Commit

Permalink
Solved path resolution issue in command script
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-marshall committed May 17, 2019
1 parent 6d01420 commit 8f81a1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 4 additions & 2 deletions deploy_extras/EnergySharing.command
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash
killall run-dev
cd `dirname $0`
echo $0
# Enter the project directory - need the extra dashes etc. to handle spaces in the path name.
cd -- "$(dirname -- "$0")"
pwd
cd src
open -a EnergySharing.app &
pwd
cd EnergySharing.app/Contents/Resources/app/model/run-dev/
./run-dev

0 comments on commit 8f81a1d

Please sign in to comment.