INITIAL
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Wait for Wayland socket to be available
|
||||
echo "Waiting for Wayland display $WAYLAND_DISPLAY..."
|
||||
while [ ! -e "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "Wayland display found. Starting API server..."
|
||||
|
||||
# Start the Node.js API server
|
||||
exec node server.js
|
||||
Reference in New Issue
Block a user