All checks were successful
Build & Push Forge-Kasm / docker (push) Successful in 30s
21 lines
546 B
Bash
21 lines
546 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
|
|
export PATH=$JAVA_HOME/bin:$PATH
|
|
|
|
# Optional: maximize Forge window
|
|
if [[ -x $STARTUPDIR/maximize_window.sh ]]; then
|
|
bash $STARTUPDIR/maximize_window.sh &
|
|
fi
|
|
|
|
# DEBUG: Create a file on desktop to indicate the script is running
|
|
if [[ -d $HOME/Desktop ]]; then
|
|
echo "Forge startup script is running" > $HOME/Desktop/forge_startup.log
|
|
else
|
|
echo "Forge startup script is running" > $HOME/forge_startup.log
|
|
fi
|
|
|
|
# Run Forge and wait for it to close
|
|
exec /opt/forge/start.sh
|