Skip to content

Commit 0c713ba

Browse files
committed
Ensure proper permissions on plugins directory; setup script to use pinggy to tunnel tcp connection
1 parent f23ecba commit 0c713ba

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

sandbox/scripts/build-plugin.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@ cd "$(dirname "$0")/../.."
66
# Build the ShowScript plugin
77
./gradlew build
88

9-
# Ensure the plugins directory exists
10-
mkdir -p /workspaces/ShowScript/sandbox/data/plugins
11-
129
# Move the built plugin jar to the plugins directory
1310
mv build/libs/showscript.jar /workspaces/ShowScript/sandbox/data/plugins/

sandbox/scripts/setup-environment.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/bash
22
ln -s /data /workspaces/ShowScript/sandbox
33

4+
5+
# Ensure the plugins directory exists
6+
mkdir -p /workspaces/ShowScript/sandbox/data/plugins
7+
8+
chmod 777 /workspaces/ShowScript/sandbox/data/plugins
9+
410
# Run script to build ShowScript
511
bash /workspaces/ShowScript/sandbox/scripts/build-plugin.sh
612

sandbox/scripts/tunnel-port.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh -p 443 -R0:localhost:25565 [email protected]

0 commit comments

Comments
 (0)