Skip to content

Commit 4058506

Browse files
committed
cleaning up some mess
1 parent ad9dbe2 commit 4058506

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ python3 -m venv virtual-controller && cd virtual-controller; bash <(curl -s http
2222

2323
---
2424

25+
TODO: Reimplement the front end rendering to support custom positions and controller configurations in general!
26+
2527
### Implemenation Status
2628

2729
**Button/Command**|** Status**

install.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
#! /usr/bin/env bash
22

3+
source ./bin/activate || { echo 'pyenv could not be activated, please ensure that this script exists in a pyenv project' ; exit 1; }
34
git clone https://github.com/harsh2204/Joy2DroidX-server.git j2dx-server/
45
git clone https://github.com/harsh2204/socketjoy.git socket-joy/
56

6-
./bin/activate
7-
87
pip install -I j2dx-server/
98
sudo j2dx --setup
109
cd socket-joy/
11-
./run.sh && deactivate
10+
./run.sh && deactivate

run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#! /usr/bin/env bash
22
which deactivate
33
rv=$?
4-
if [ $rv-eq 0 ]; then
4+
if [ $rv -eq 0 ]; then
55
echo "venv already sourced"
66
else
7-
../bin/activate
7+
source ../bin/activate
88
fi
99

10-
j2dx & python3 -m http.server && kill $! && deactivate
10+
j2dx & python3 -m http.server && kill $! && deactivate

0 commit comments

Comments
 (0)