Fixed mt5 container. Runs without errors

This commit is contained in:
Mike
2023-07-16 04:14:41 +02:00
parent 52851c97e8
commit 58c682bcfd
4 changed files with 74 additions and 10 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Start the X server
Xvfb :0 -screen 0 1024x768x16 &
# Set the X display
export DISPLAY=:0
# Install necessary dependencies using winetricks
winetricks -q corefonts
# Run MetaTrader 5
su - trader -c 'wine "/home/trader/.wine/drive_c/Program Files/MetaTrader 5/terminal64.exe"'