Skip to content

Commit

Permalink
Try fix path for update command
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryCraft committed Nov 28, 2024
1 parent c573dd7 commit a9be8af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion IMAGES/ptero-plutonium/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ then echo "Wineprefix not found, initialiizing wine" && /usr/sbin/winetricks
echo "Configured Succesfully"
fi;

UPDATE_COMMAND="bin/plutonium-bootstrapper-win32.exe -update-only"


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

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

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

0 comments on commit a9be8af

Please sign in to comment.