Download tasks/01-A-content-formats-gui-v4/environment/start-editor.sh from refreshdotdev/Refresh-GUI-dataset: direct link, hf CLI and curl.
- Browser
- Download file 479 Bytes
-
https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/01-A-content-formats-gui-v4/environment/start-editor.sh
- Command line
-
hf download hf://datasets/refreshdotdev/Refresh-GUI-dataset/tasks/01-A-content-formats-gui-v4/environment/start-editor.sh
-
curl -L -o start-editor.sh https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/01-A-content-formats-gui-v4/environment/start-editor.sh
479 Bytes
| set -eu | |
| mkdir -p /logs/artifacts /root/.local/share/filmcraft /root/.config/filmcraft | |
| if [ ! -S /tmp/.X11-unix/X1 ]; then | |
| Xvfb :1 -screen 0 1280x900x24 -ac +extension RANDR >/tmp/task01-xvfb.log 2>&1 & | |
| fi | |
| export DISPLAY=:1 | |
| sleep 1 | |
| if [ -z "${DBUS_SESSION_BUS_ADDRESS:-}" ]; then | |
| eval "$(dbus-launch --sh-syntax)" | |
| fi | |
| startxfce4 >/tmp/task01-xfce.log 2>&1 & | |
| sleep 2 | |
| exec /usr/local/bin/filmcraft --empty --no-recover --graphics software >/tmp/task01-filmcraft.log 2>&1 | |