File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
GAMA Plugin/gaml.extension.unity/src/gaml/extension/unity/commands/wizard Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -233,9 +233,23 @@ public void buildAndSaveVRModel() {
233233 env .append ("MONITOR_WS_PORT=8001\n " );
234234 env .append ("WEB_APPLICATION_HOST=localhost\n " );
235235 env .append ("WEB_APPLICATION_PORT=8000\n " );
236+
237+ env .append ("# Allow reaching webplatform with any mDNS hostname\n " );
238+ env .append ("# http://<WEB_HOSTNAME>.local:<WEB_APPLICATION_PORT>\n " );
239+ env .append ("# => Default to http://simple.local:5173\n " );
240+ env .append ("#WEB_HOSTNAME=simple\n " );
241+
236242 env .append ("VERBOSE=false\n " );
237243 env .append ("EXTRA_LEARNING_PACKAGE_PATH=\" " + directoryP .getParent ()+ "\" \n " );
238244
245+ env .append ("# Be careful, this will display A LOT of messages\n " );
246+ env .append ("# List IP addresses of headsets you want the middleware to scrcpy\n " );
247+ env .append ("# Each IP should be separated with a \" ;\" as shown below\n " );
248+ env .append ("# HEADSETS_IP=\" 192.168.68.178;192.168.68.180;\" \n " );
249+
250+ env .append ("# Will pro-actively entirely remove player from GAMA / Middleware if device disconnect\n " );
251+ env .append ("# Default to `false`\n " );
252+ env .append ("# AGGRESSIVE_DISCONNECT=false\n " );
239253
240254 try (FileWriter fw2 = new FileWriter (projectPath + "/.env" )) {
241255 fw2 .write (env .toString ());
You can’t perform that action at this time.
0 commit comments