Skip to content

Commit

Permalink
Structure changes, pluto refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryCraft committed Nov 27, 2024
1 parent ce66dcb commit c573dd7
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions IMAGES/ptero-plutonium/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
cd /home/container

# Use checkupdater.sh to download the latest updater and run it
/checkupdater.sh
# /checkupdater.sh

# Output Current Wine Version
wine --version
Expand All @@ -12,13 +12,6 @@ then echo "Wineprefix not found, initialiizing wine" && /usr/sbin/winetricks
echo "Configured Succesfully"
fi;

# Create Shortcuts for zone files
if [ ! -e /home/container/Server/Zombie/zone ];
then ln -s /home/container/Server/zone /home/container/Server/Zombie/zone
fi;
if [ ! -e /home/container/Server/Multiplayer/zone ];
then ln -s /home/container/Server/zone /home/container/Server/Multiplayer/zone
fi;

# Setup Virtual Screen
# Xvfb :0 -screen 0 1024x768x16 -nolisten unix
Expand All @@ -27,7 +20,11 @@ export WINEDEBUG=fixme-all

# Replace Startup Variables
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo "Running ${MODIFIED_STARTUP}"
UPDATE_STARTUP=`bin/plutonium-bootstrapper-win32.exe -update-only`

# Run Plutonium as self-updater
( cd /home/container/Plutonium && exec xvfb-run wine ${UPDATE_STARTUP} )

echo "Running ${MODIFIED_STARTUP}"
# Run the Server
( cd /home/container/Plutonium && exec xvfb-run wine ${MODIFIED_STARTUP} )

0 comments on commit c573dd7

Please sign in to comment.